Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.225/2.225, allocations: 390.3 MB / 402.8 MB, free: 6.676 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: 188.3 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009813/0.0009812, allocations: 91.91 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.939e-05/4.943e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3664, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.445/1.812, allocations: 402.5 MB / 1.612 GB, free: 15.71 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/1.812, allocations: 90.36 kB / 1.612 GB, free: 15.67 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 7.418/9.231, allocations: 1.534 GB / 3.146 GB, free: 249.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.643e-06/9.231, allocations: 0 / 3.146 GB, free: 249.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001703/9.231, allocations: 47.64 kB / 3.146 GB, free: 249.2 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.004201/9.235, allocations: 1.871 MB / 3.148 GB, free: 248.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/9.235, allocations: 7.812 kB / 3.148 GB, free: 248.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/9.238, allocations: 0.603 MB / 3.149 GB, free: 248.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/9.242, allocations: 1.436 MB / 3.15 GB, free: 247.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/9.242, allocations: 86.69 kB / 3.15 GB, free: 247.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/9.242, allocations: 109.3 kB / 3.15 GB, free: 247.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/9.244, allocations: 1.198 MB / 3.151 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/9.244, allocations: 3.438 kB / 3.151 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/9.244, allocations: 41.97 kB / 3.151 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/9.244, allocations: 22.56 kB / 3.151 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/9.246, allocations: 0.9055 MB / 3.152 GB, free: 247.7 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.00775/9.254, allocations: 6.657 MB / 3.159 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/9.255, allocations: 0.9314 MB / 3.16 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/9.256, allocations: 0.514 MB / 3.16 GB, free: 243.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/9.257, allocations: 2.259 MB / 3.162 GB, free: 241.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008489/9.258, allocations: 0.669 MB / 3.163 GB, free: 241.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.818e-06/9.258, allocations: 0 / 3.163 GB, free: 241.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.002362/9.261, allocations: 1.307 MB / 3.164 GB, free: 240.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/9.261, allocations: 147.8 kB / 3.164 GB, free: 240.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/9.262, allocations: 1.044 MB / 3.165 GB, free: 240.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/9.262, allocations: 46.48 kB / 3.165 GB, free: 240.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/9.263, allocations: 0.7018 MB / 3.166 GB, free: 240.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/9.263, allocations: 312.5 kB / 3.166 GB, free: 240.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/9.263, allocations: 22.62 kB / 3.166 GB, free: 240.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/9.263, allocations: 344.2 kB / 3.167 GB, free: 239.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/9.264, allocations: 427.7 kB / 3.167 GB, free: 239.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/9.265, allocations: 0.7051 MB / 3.168 GB, free: 239.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/9.265, allocations: 0.547 MB / 3.168 GB, free: 239.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/9.265, allocations: 5.688 kB / 3.168 GB, free: 239.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00239/9.268, allocations: 1.499 MB / 3.17 GB, free: 239.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005559/9.268, allocations: 2.254 MB / 3.172 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/9.268, allocations: 9.219 kB / 3.172 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/9.268, allocations: 10.72 kB / 3.172 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/9.27, allocations: 293.5 kB / 3.172 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/9.27, allocations: 14.12 kB / 3.172 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/9.271, allocations: 243.5 kB / 3.173 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/9.272, allocations: 69.33 kB / 3.173 GB, free: 236.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/9.272, allocations: 6.906 kB / 3.173 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002074/9.274, allocations: 1.399 MB / 3.174 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/9.274, allocations: 3.781 kB / 3.174 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/9.274, allocations: 16.88 kB / 3.174 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/9.275, allocations: 291 kB / 3.174 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/9.275, allocations: 18.5 kB / 3.174 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/9.277, allocations: 234.9 kB / 3.175 GB, free: 236.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/9.277, allocations: 64.59 kB / 3.175 GB, free: 236.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.0003483/9.277, allocations: 277.6 kB / 3.175 GB, free: 236.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/9.277, allocations: 161.3 kB / 3.175 GB, free: 236.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/9.28, allocations: 2.008 MB / 3.177 GB, free: 236 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/9.28, allocations: 18.14 kB / 3.177 GB, free: 236 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/9.281, allocations: 0 / 3.177 GB, free: 236 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/9.281, allocations: 7.844 kB / 3.177 GB, free: 236 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/9.285, allocations: 3.344 MB / 3.18 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/9.285, allocations: 2.5 kB / 3.18 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/9.287, allocations: 231 kB / 3.181 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/9.287, allocations: 3.688 kB / 3.181 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/9.287, allocations: 44.48 kB / 3.181 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/9.287, allocations: 11.3 kB / 3.181 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/9.287, allocations: 7.031 kB / 3.181 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/9.29, allocations: 2.685 MB / 3.183 GB, free: 235 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/9.291, allocations: 416.5 kB / 3.184 GB, free: 234.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/9.291, allocations: 29.41 kB / 3.184 GB, free: 234.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/9.293, allocations: 169.3 kB / 3.184 GB, free: 234.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/9.293, allocations: 71.25 kB / 3.184 GB, free: 234.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/9.293, allocations: 58.66 kB / 3.184 GB, free: 234.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00109/9.294, allocations: 0.7979 MB / 3.185 GB, free: 234.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/9.294, allocations: 2.938 kB / 3.185 GB, free: 234.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002826/9.297, allocations: 0.9211 MB / 3.186 GB, free: 234.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.001938/9.299, allocations: 0.9786 MB / 3.187 GB, free: 234.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003115/9.302, allocations: 2.304 MB / 3.189 GB, free: 233.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/9.302, allocations: 3.594 kB / 3.189 GB, free: 233.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/9.303, allocations: 0.9038 MB / 3.19 GB, free: 233.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/9.306, allocations: 0.6005 MB / 3.19 GB, free: 233.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/9.311, allocations: 2.681 MB / 3.193 GB, free: 233 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/9.311, allocations: 1.312 MB / 3.194 GB, free: 232.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00212/9.313, allocations: 492.1 kB / 3.195 GB, free: 232.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/9.314, allocations: 121 kB / 3.195 GB, free: 232.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.273e-06/9.314, allocations: 0 / 3.195 GB, free: 232.3 MB / 1.167 GB Notification: Performance of Templates: time 0.06394/9.378, allocations: 37.77 MB / 3.232 GB, free: 226.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches