Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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_dynamic,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_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,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_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001006/0.001006, allocations: 172.8 kB / 487.4 MB, free: 5.027 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.488/1.488, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009873, allocations: 99.88 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.323e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3092, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.576, allocations: 401 MB / 1.598 GB, free: 5.098 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/1.577, allocations: 87.14 kB / 1.598 GB, free: 5.055 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.987/7.564, allocations: 1.527 GB / 3.125 GB, free: 203.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.354e-06/7.564, allocations: 0 / 3.125 GB, free: 203.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003013/7.564, allocations: 48.8 kB / 3.125 GB, free: 203.3 MB / 1.151 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.006622/7.571, allocations: 1.875 MB / 3.127 GB, free: 202.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.573e-05/7.571, allocations: 9.875 kB / 3.127 GB, free: 202.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00374/7.574, allocations: 0.6038 MB / 3.127 GB, free: 202.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004691/7.579, allocations: 1.436 MB / 3.129 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/7.579, allocations: 34.34 kB / 3.129 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/7.579, allocations: 66.81 kB / 3.129 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001619/7.581, allocations: 0.8363 MB / 3.13 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/7.583, allocations: 1.053 MB / 3.131 GB, free: 202.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/7.583, allocations: 3.469 kB / 3.131 GB, free: 202.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/7.583, allocations: 3.281 kB / 3.131 GB, free: 202.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/7.583, allocations: 27.62 kB / 3.131 GB, free: 202.1 MB / 1.151 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.007632/7.591, allocations: 6.45 MB / 3.137 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/7.592, allocations: 0.8973 MB / 3.138 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/7.592, allocations: 498.8 kB / 3.138 GB, free: 198.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/7.594, allocations: 2.255 MB / 3.141 GB, free: 195.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007521/7.594, allocations: 0.6477 MB / 3.141 GB, free: 195.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 3.206e-06/7.595, allocations: 0 / 3.141 GB, free: 195.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.00313/7.598, allocations: 1.394 MB / 3.143 GB, free: 195.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/7.598, allocations: 149.7 kB / 3.143 GB, free: 195.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/7.599, allocations: 0.8985 MB / 3.144 GB, free: 195.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/7.599, allocations: 29.64 kB / 3.144 GB, free: 195.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/7.599, allocations: 0.7121 MB / 3.144 GB, free: 194.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/7.6, allocations: 309.2 kB / 3.145 GB, free: 194.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/7.6, allocations: 2.625 kB / 3.145 GB, free: 194.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/7.6, allocations: 350.1 kB / 3.145 GB, free: 194.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/7.6, allocations: 406 kB / 3.145 GB, free: 194.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/7.601, allocations: 0.671 MB / 3.146 GB, free: 194.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/7.603, allocations: 0.6693 MB / 3.147 GB, free: 194.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/7.603, allocations: 0 / 3.147 GB, free: 194.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002953/7.606, allocations: 1.558 MB / 3.148 GB, free: 194 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004195/7.606, allocations: 2.248 MB / 3.15 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/7.606, allocations: 3.156 kB / 3.15 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/7.606, allocations: 13.38 kB / 3.15 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/7.607, allocations: 293 kB / 3.151 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/7.607, allocations: 14.06 kB / 3.151 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/7.609, allocations: 212.7 kB / 3.151 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/7.609, allocations: 63.8 kB / 3.151 GB, free: 191.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/7.609, allocations: 9.469 kB / 3.151 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002759/7.612, allocations: 1.429 MB / 3.152 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/7.612, allocations: 7.094 kB / 3.152 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/7.612, allocations: 10.22 kB / 3.152 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/7.613, allocations: 293.4 kB / 3.153 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/7.613, allocations: 15 kB / 3.153 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/7.615, allocations: 206.5 kB / 3.153 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/7.615, allocations: 65.28 kB / 3.153 GB, free: 191.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * 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.0003186/7.615, allocations: 245 kB / 3.153 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/7.615, allocations: 152.6 kB / 3.153 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/7.619, allocations: 2.004 MB / 3.155 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/7.619, allocations: 17.81 kB / 3.155 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/7.619, allocations: 0 / 3.155 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/7.619, allocations: 6.188 kB / 3.155 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/7.624, allocations: 3.194 MB / 3.158 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/7.624, allocations: 7.297 kB / 3.159 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/7.626, allocations: 221.6 kB / 3.159 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/7.626, allocations: 9.953 kB / 3.159 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/7.626, allocations: 34 kB / 3.159 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.351e-06/7.626, allocations: 3.844 kB / 3.159 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/7.626, allocations: 6.188 kB / 3.159 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004493/7.63, allocations: 2.677 MB / 3.161 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/7.631, allocations: 396.2 kB / 3.162 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/7.632, allocations: 17.09 kB / 3.162 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/7.633, allocations: 150 kB / 3.162 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/7.633, allocations: 77.38 kB / 3.162 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/7.633, allocations: 57.92 kB / 3.162 GB, free: 190.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001283/7.635, allocations: 0.6741 MB / 3.163 GB, free: 190.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.635, allocations: 0 / 3.163 GB, free: 190.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00383/7.638, allocations: 0.8866 MB / 3.164 GB, free: 190.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * 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.002491/7.641, allocations: 0.9863 MB / 3.165 GB, free: 189.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003356/7.644, allocations: 2.214 MB / 3.167 GB, free: 189.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/7.644, allocations: 0 / 3.167 GB, free: 189.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009743/7.645, allocations: 0.8748 MB / 3.168 GB, free: 189.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/7.648, allocations: 0.5162 MB / 3.168 GB, free: 189.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/7.652, allocations: 2.622 MB / 3.171 GB, free: 188.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/7.653, allocations: 1.314 MB / 3.172 GB, free: 187.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001957/7.655, allocations: 470.6 kB / 3.172 GB, free: 187.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/7.655, allocations: 113.6 kB / 3.172 GB, free: 187.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/7.655, allocations: 0 / 3.172 GB, free: 187.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04574/7.701, allocations: 31.19 MB / 3.203 GB, free: 186.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches