Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 192 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008056/0.0008056, allocations: 82.53 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.216e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2035, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.187, allocations: 2.199 GB / 3.084 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/5.188, allocations: 93.81 kB / 3.084 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.34/6.528, allocations: 440.7 MB / 3.515 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/6.528, allocations: 0 / 3.515 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.069e-05/6.528, allocations: 35.86 kB / 3.515 GB, free: 104.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001904/6.53, allocations: 1.082 MB / 3.516 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/6.53, allocations: 8.031 kB / 3.516 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/6.531, allocations: 178.2 kB / 3.516 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/6.532, allocations: 0.7847 MB / 3.517 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/6.532, allocations: 12 kB / 3.517 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/6.532, allocations: 35.98 kB / 3.517 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004157/6.533, allocations: 269.4 kB / 3.517 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/6.533, allocations: 429 kB / 3.517 GB, free: 102 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/6.533, allocations: 0 / 3.517 GB, free: 102 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/6.533, allocations: 7.953 kB / 3.517 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/6.533, allocations: 8 kB / 3.517 GB, free: 101.9 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/6.535, allocations: 1.865 MB / 3.519 GB, free: 99.94 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/6.536, allocations: 310.5 kB / 3.52 GB, free: 99.63 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/6.536, allocations: 125.5 kB / 3.52 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/6.536, allocations: 194.2 kB / 3.52 GB, free: 99.28 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/6.536, allocations: 39.11 kB / 3.52 GB, free: 99.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/6.536, allocations: 0 / 3.52 GB, free: 99.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0009928/6.537, allocations: 412.8 kB / 3.52 GB, free: 98.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/6.537, allocations: 209.6 kB / 3.52 GB, free: 98.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/6.538, allocations: 0.6642 MB / 3.521 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/6.538, allocations: 33.64 kB / 3.521 GB, free: 97.85 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/6.538, allocations: 365 kB / 3.521 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/6.538, allocations: 90.66 kB / 3.522 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/6.538, allocations: 0 / 3.522 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/6.538, allocations: 318 kB / 3.522 GB, free: 97.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/6.539, allocations: 132.2 kB / 3.522 GB, free: 96.95 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/6.539, allocations: 333.3 kB / 3.522 GB, free: 96.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/6.539, allocations: 174.9 kB / 3.522 GB, free: 96.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/6.539, allocations: 0 / 3.522 GB, free: 96.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007459/6.54, allocations: 450.6 kB / 3.523 GB, free: 95.92 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.03e-05/6.54, allocations: 272.3 kB / 3.523 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/6.54, allocations: 7.984 kB / 3.523 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/6.54, allocations: 36.8 kB / 3.523 GB, free: 95.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/6.541, allocations: 87.81 kB / 3.523 GB, free: 95.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004974/6.541, allocations: 1.17 MB / 3.524 GB, free: 94.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/6.542, allocations: 87.81 kB / 3.525 GB, free: 94.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/6.542, allocations: 19.94 kB / 3.525 GB, free: 94.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/6.542, allocations: 4 kB / 3.525 GB, free: 94.17 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005555/6.543, allocations: 340.6 kB / 3.525 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/6.543, allocations: 0 / 3.525 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/6.543, allocations: 36.83 kB / 3.525 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/6.543, allocations: 83.88 kB / 3.525 GB, free: 93.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009012/6.544, allocations: 1.412 MB / 3.526 GB, free: 92.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/6.545, allocations: 87.77 kB / 3.526 GB, free: 92.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/6.545, allocations: 19.98 kB / 3.526 GB, free: 92.08 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001297/6.545, allocations: 117.1 kB / 3.527 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/6.545, allocations: 75.06 kB / 3.527 GB, free: 91.89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/6.546, allocations: 392.5 kB / 3.527 GB, free: 91.49 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/6.546, allocations: 0 / 3.527 GB, free: 91.49 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/6.546, allocations: 0 / 3.527 GB, free: 91.49 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/6.546, allocations: 3.984 kB / 3.527 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/6.547, allocations: 1.089 MB / 3.528 GB, free: 90.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/6.547, allocations: 0 / 3.528 GB, free: 90.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/6.548, allocations: 71.83 kB / 3.528 GB, free: 90.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-05/6.548, allocations: 29.03 kB / 3.528 GB, free: 90.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/6.548, allocations: 16 kB / 3.528 GB, free: 90.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003887/6.548, allocations: 1.146 MB / 3.529 GB, free: 89.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/6.548, allocations: 4.031 kB / 3.529 GB, free: 89.02 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/6.549, allocations: 0.7183 MB / 3.53 GB, free: 88.22 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/6.549, allocations: 216 kB / 3.53 GB, free: 87.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/6.549, allocations: 8 kB / 3.53 GB, free: 87.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/6.55, allocations: 51.94 kB / 3.53 GB, free: 87.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/6.55, allocations: 23.91 kB / 3.53 GB, free: 87.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/6.55, allocations: 20 kB / 3.53 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005521/6.55, allocations: 0.5226 MB / 3.531 GB, free: 87.38 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.55, allocations: 0 / 3.531 GB, free: 87.38 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001486/6.552, allocations: 455.1 kB / 3.531 GB, free: 86.93 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/6.554, allocations: 1.44 MB / 3.533 GB, free: 85.45 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001273/6.555, allocations: 0.7312 MB / 3.533 GB, free: 84.68 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/6.555, allocations: 0 / 3.533 GB, free: 84.68 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/6.555, allocations: 154.6 kB / 3.534 GB, free: 84.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/6.557, allocations: 258.5 kB / 3.534 GB, free: 84.29 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/6.558, allocations: 0.9122 MB / 3.535 GB, free: 83.33 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/6.558, allocations: 0.9868 MB / 3.536 GB, free: 82.31 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001013/6.56, allocations: 247.2 kB / 3.536 GB, free: 82.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/6.56, allocations: 35.44 kB / 3.536 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/6.56, allocations: 0 / 3.536 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of Templates: time 0.02755/6.587, allocations: 20.11 MB / 3.556 GB, free: 62.04 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches