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.268/2.268, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001078/0.001078, allocations: 183.3 kB / 492.3 MB, free: 0.5938 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.74/1.74, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.00104/0.00104, allocations: 94.58 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.238e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3534, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.449/1.803, allocations: 401.7 MB / 1.605 GB, free: 12.37 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/1.803, allocations: 89.84 kB / 1.605 GB, free: 12.32 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.792/8.595, allocations: 1.534 GB / 3.139 GB, free: 215.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/8.596, allocations: 3.062 kB / 3.139 GB, free: 215.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001934/8.596, allocations: 58.27 kB / 3.139 GB, free: 215.8 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.004858/8.601, allocations: 1.864 MB / 3.141 GB, free: 215.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/8.601, allocations: 14.94 kB / 3.141 GB, free: 215.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/8.604, allocations: 0.5985 MB / 3.141 GB, free: 215.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003868/8.608, allocations: 1.444 MB / 3.143 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/8.608, allocations: 85.19 kB / 3.143 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/8.608, allocations: 107.3 kB / 3.143 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/8.61, allocations: 1.197 MB / 3.144 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/8.61, allocations: 3.906 kB / 3.144 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/8.61, allocations: 43.56 kB / 3.144 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/8.61, allocations: 24.28 kB / 3.144 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/8.612, allocations: 0.898 MB / 3.145 GB, free: 214.5 MB / 1.167 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.007986/8.62, allocations: 6.647 MB / 3.152 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/8.621, allocations: 0.934 MB / 3.152 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006697/8.622, allocations: 0.5132 MB / 3.153 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/8.624, allocations: 2.262 MB / 3.155 GB, free: 208.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008935/8.624, allocations: 0.6698 MB / 3.156 GB, free: 207.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.406e-06/8.624, allocations: 0 / 3.156 GB, free: 207.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.002323/8.627, allocations: 1.305 MB / 3.157 GB, free: 207.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/8.627, allocations: 150.7 kB / 3.157 GB, free: 207.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/8.628, allocations: 1.038 MB / 3.158 GB, free: 207.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/8.628, allocations: 48.17 kB / 3.158 GB, free: 207.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/8.629, allocations: 0.6984 MB / 3.159 GB, free: 207.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/8.629, allocations: 323.3 kB / 3.159 GB, free: 207 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/8.629, allocations: 17.62 kB / 3.159 GB, free: 207 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/8.629, allocations: 350.2 kB / 3.16 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/8.63, allocations: 426.1 kB / 3.16 GB, free: 206.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/8.631, allocations: 0.7017 MB / 3.161 GB, free: 206.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/8.632, allocations: 0.5524 MB / 3.161 GB, free: 206.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/8.632, allocations: 0 / 3.161 GB, free: 206.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002384/8.634, allocations: 1.503 MB / 3.163 GB, free: 206.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005894/8.635, allocations: 2.254 MB / 3.165 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/8.635, allocations: 6.156 kB / 3.165 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/8.635, allocations: 14.84 kB / 3.165 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/8.636, allocations: 295.5 kB / 3.165 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/8.636, allocations: 7.625 kB / 3.165 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/8.638, allocations: 252.2 kB / 3.166 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/8.638, allocations: 64.72 kB / 3.166 GB, free: 203.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/8.638, allocations: 3.406 kB / 3.166 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/8.64, allocations: 1.403 MB / 3.167 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/8.64, allocations: 3.875 kB / 3.167 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/8.64, allocations: 10.03 kB / 3.167 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/8.641, allocations: 297.6 kB / 3.167 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/8.641, allocations: 14.28 kB / 3.167 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/8.643, allocations: 249.4 kB / 3.167 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/8.643, allocations: 62.86 kB / 3.168 GB, free: 203.5 MB / 1.167 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.0003602/8.643, allocations: 269 kB / 3.168 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/8.644, allocations: 166 kB / 3.168 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00323/8.647, allocations: 2.015 MB / 3.17 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/8.647, allocations: 15.56 kB / 3.17 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/8.647, allocations: 6.047 kB / 3.17 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/8.647, allocations: 3.891 kB / 3.17 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/8.652, allocations: 3.337 MB / 3.173 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/8.652, allocations: 3.594 kB / 3.173 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/8.653, allocations: 228.6 kB / 3.173 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/8.653, allocations: 7.625 kB / 3.173 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.361e-05/8.653, allocations: 38.94 kB / 3.173 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/8.653, allocations: 9.688 kB / 3.173 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/8.653, allocations: 0 / 3.173 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/8.657, allocations: 2.701 MB / 3.176 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008886/8.658, allocations: 404.8 kB / 3.177 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/8.658, allocations: 27.84 kB / 3.177 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/8.659, allocations: 173.3 kB / 3.177 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/8.659, allocations: 74.69 kB / 3.177 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/8.659, allocations: 48.95 kB / 3.177 GB, free: 201.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001122/8.66, allocations: 0.8036 MB / 3.178 GB, free: 201.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/8.66, allocations: 0 / 3.178 GB, free: 201.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002886/8.663, allocations: 0.9175 MB / 3.179 GB, free: 201.6 MB / 1.167 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.001881/8.665, allocations: 0.9881 MB / 3.179 GB, free: 201.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003186/8.668, allocations: 2.311 MB / 3.182 GB, free: 201 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/8.668, allocations: 0 / 3.182 GB, free: 201 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/8.669, allocations: 0.8971 MB / 3.183 GB, free: 200.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/8.673, allocations: 0.6022 MB / 3.183 GB, free: 200.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/8.677, allocations: 2.675 MB / 3.186 GB, free: 200.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/8.678, allocations: 1.32 MB / 3.187 GB, free: 199.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002248/8.68, allocations: 497.5 kB / 3.188 GB, free: 199.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/8.681, allocations: 116.4 kB / 3.188 GB, free: 199.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.623e-06/8.681, allocations: 0 / 3.188 GB, free: 199.4 MB / 1.167 GB Notification: Performance of Templates: time 0.06118/8.742, allocations: 37.77 MB / 3.225 GB, free: 198.1 MB / 1.167 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