Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.509/2.509, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 165.2 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.757/1.757, allocations: 223.2 MB / 0.7949 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 106.5 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004044, allocations: 13.28 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3407, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.551, allocations: 401.5 MB / 1.615 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.551, allocations: 92.38 kB / 1.615 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.263/4.814, allocations: 0.9548 GB / 2.57 GB, free: 202.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.723e-06/4.814, allocations: 0 / 2.57 GB, free: 202.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001536/4.814, allocations: 53 kB / 2.57 GB, free: 202.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004774/4.819, allocations: 2.181 MB / 2.572 GB, free: 200.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/4.819, allocations: 8.031 kB / 2.572 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/4.822, allocations: 0.5999 MB / 2.573 GB, free: 199.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/4.826, allocations: 1.455 MB / 2.574 GB, free: 198.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/4.826, allocations: 85.94 kB / 2.574 GB, free: 198.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/4.826, allocations: 104 kB / 2.574 GB, free: 198.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/4.829, allocations: 1.369 MB / 2.576 GB, free: 196.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/4.829, allocations: 2.156 kB / 2.576 GB, free: 196.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/4.829, allocations: 44.34 kB / 2.576 GB, free: 196.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/4.829, allocations: 27.95 kB / 2.576 GB, free: 196.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/4.832, allocations: 1.265 MB / 2.577 GB, free: 195.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00845/4.84, allocations: 6.41 MB / 2.583 GB, free: 188.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/4.843, allocations: 1.276 MB / 2.584 GB, free: 187.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001597/4.845, allocations: 2.267 MB / 2.587 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/4.846, allocations: 0.8514 MB / 2.587 GB, free: 183.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 4.438e-06/4.846, allocations: 0 / 2.587 GB, free: 183.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.004922/4.851, allocations: 2.491 MB / 2.59 GB, free: 181.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/4.851, allocations: 157.4 kB / 2.59 GB, free: 181 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/4.853, allocations: 1.038 MB / 2.591 GB, free: 180 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/4.853, allocations: 56.97 kB / 2.591 GB, free: 179.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/4.853, allocations: 0.6831 MB / 2.592 GB, free: 179.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/4.854, allocations: 327 kB / 2.592 GB, free: 178.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/4.854, allocations: 16 kB / 2.592 GB, free: 178.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.03e-05/4.854, allocations: 345.9 kB / 2.592 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/4.855, allocations: 0.5837 MB / 2.593 GB, free: 178 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/4.856, allocations: 0.8311 MB / 2.594 GB, free: 177.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/4.858, allocations: 0.7062 MB / 2.595 GB, free: 176.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/4.858, allocations: 0 / 2.595 GB, free: 176.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003696/4.862, allocations: 1.811 MB / 2.596 GB, free: 174.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003631/4.862, allocations: 1.726 MB / 2.598 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/4.862, allocations: 4 kB / 2.598 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/4.862, allocations: 11.84 kB / 2.598 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/4.863, allocations: 279.6 kB / 2.598 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/4.863, allocations: 8 kB / 2.598 GB, free: 172.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/4.865, allocations: 238.9 kB / 2.598 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/4.865, allocations: 59.97 kB / 2.599 GB, free: 172.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/4.865, allocations: 4 kB / 2.599 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003208/4.868, allocations: 1.721 MB / 2.6 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/4.868, allocations: 7.984 kB / 2.6 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/4.868, allocations: 8 kB / 2.6 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/4.869, allocations: 283.2 kB / 2.601 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/4.869, allocations: 8 kB / 2.601 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/4.871, allocations: 241.6 kB / 2.601 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/4.871, allocations: 67.97 kB / 2.601 GB, free: 169.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009421/4.872, allocations: 492.9 kB / 2.601 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/4.872, allocations: 158.1 kB / 2.601 GB, free: 169.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/4.877, allocations: 2.375 MB / 2.604 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/4.878, allocations: 19.98 kB / 2.604 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/4.878, allocations: 0 / 2.604 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/4.878, allocations: 11.92 kB / 2.604 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006901/4.884, allocations: 3.743 MB / 2.607 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/4.885, allocations: 3.938 kB / 2.607 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/4.886, allocations: 235.8 kB / 2.608 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/4.886, allocations: 4 kB / 2.608 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/4.886, allocations: 46.53 kB / 2.608 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/4.886, allocations: 4 kB / 2.608 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/4.886, allocations: 4 kB / 2.608 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005978/4.892, allocations: 3.235 MB / 2.611 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/4.893, allocations: 410.3 kB / 2.611 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/4.893, allocations: 32 kB / 2.611 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/4.894, allocations: 174.7 kB / 2.611 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/4.894, allocations: 72.91 kB / 2.612 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/4.895, allocations: 55.97 kB / 2.612 GB, free: 158.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001078/4.896, allocations: 0.8181 MB / 2.612 GB, free: 157.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/4.896, allocations: 0 / 2.612 GB, free: 157.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002681/4.898, allocations: 0.9167 MB / 2.613 GB, free: 156.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001736/4.9, allocations: 0.9716 MB / 2.614 GB, free: 155.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004976/4.905, allocations: 2.757 MB / 2.617 GB, free: 153.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/4.905, allocations: 4 kB / 2.617 GB, free: 153.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/4.907, allocations: 1.09 MB / 2.618 GB, free: 152 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/4.91, allocations: 0.6053 MB / 2.619 GB, free: 151.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/4.916, allocations: 3.726 MB / 2.622 GB, free: 147.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/4.917, allocations: 1.313 MB / 2.623 GB, free: 146.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001943/4.919, allocations: 412.9 kB / 2.624 GB, free: 145.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/4.919, allocations: 143.3 kB / 2.624 GB, free: 145.8 MB / 1.167 GB Notification: Performance of SimCode: time 2.194e-06/4.919, allocations: 0 / 2.624 GB, free: 145.8 MB / 1.167 GB Notification: Performance of Templates: time 0.0483/4.968, allocations: 33.69 MB / 2.657 GB, free: 113 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches