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.4/2.4, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001253/0.001253, allocations: 182.7 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.661/1.661, allocations: 223.2 MB / 0.7949 GB, free: 17.93 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.001198/0.001197, allocations: 98.91 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 9.219 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.324, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.367, allocations: 401.7 MB / 1.615 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.367, allocations: 89.64 kB / 1.615 GB, free: 9.996 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.783/6.15, allocations: 1.539 GB / 3.154 GB, free: 56.56 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.214e-06/6.15, allocations: 0 / 3.154 GB, free: 56.56 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002683/6.15, allocations: 55.97 kB / 3.154 GB, free: 56.51 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.005894/6.156, allocations: 2.189 MB / 3.156 GB, free: 54.24 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/6.156, allocations: 12.03 kB / 3.156 GB, free: 54.23 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/6.159, allocations: 0.6066 MB / 3.157 GB, free: 53.62 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004695/6.164, allocations: 1.454 MB / 3.158 GB, free: 52.11 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/6.164, allocations: 79.2 kB / 3.158 GB, free: 52.04 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/6.165, allocations: 115.9 kB / 3.159 GB, free: 51.92 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/6.167, allocations: 1.378 MB / 3.16 GB, free: 50.47 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/6.167, allocations: 0 / 3.16 GB, free: 50.47 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/6.167, allocations: 40.34 kB / 3.16 GB, free: 50.43 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/6.167, allocations: 27.95 kB / 3.16 GB, free: 50.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/6.17, allocations: 1.249 MB / 3.161 GB, free: 49.16 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.007571/6.178, allocations: 6.651 MB / 3.168 GB, free: 41.99 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/6.18, allocations: 1.263 MB / 3.169 GB, free: 40.71 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/6.182, allocations: 2.26 MB / 3.171 GB, free: 37.96 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/6.183, allocations: 0.8426 MB / 3.172 GB, free: 37.09 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.456e-06/6.183, allocations: 0 / 3.172 GB, free: 37.09 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.004972/6.188, allocations: 2.47 MB / 3.174 GB, free: 34.54 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/6.188, allocations: 141.2 kB / 3.175 GB, free: 34.37 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/6.19, allocations: 1.062 MB / 3.176 GB, free: 33.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/6.19, allocations: 45.7 kB / 3.176 GB, free: 33.25 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/6.19, allocations: 0.6937 MB / 3.176 GB, free: 32.55 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/6.191, allocations: 327.3 kB / 3.177 GB, free: 32.22 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/6.191, allocations: 20 kB / 3.177 GB, free: 32.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/6.191, allocations: 349.9 kB / 3.177 GB, free: 31.86 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/6.192, allocations: 0.5839 MB / 3.178 GB, free: 31.27 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/6.193, allocations: 0.8712 MB / 3.178 GB, free: 30.29 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/6.195, allocations: 0.7106 MB / 3.179 GB, free: 29.56 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/6.195, allocations: 4 kB / 3.179 GB, free: 29.55 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003538/6.198, allocations: 1.851 MB / 3.181 GB, free: 27.67 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004329/6.199, allocations: 2.245 MB / 3.183 GB, free: 25.21 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/6.199, allocations: 8 kB / 3.183 GB, free: 25.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/6.199, allocations: 12 kB / 3.183 GB, free: 25.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/6.2, allocations: 287.6 kB / 3.183 GB, free: 24.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/6.2, allocations: 15.94 kB / 3.183 GB, free: 24.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/6.202, allocations: 246.8 kB / 3.184 GB, free: 24.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/6.202, allocations: 67.97 kB / 3.184 GB, free: 24.59 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/6.202, allocations: 4.625 kB / 3.184 GB, free: 24.59 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003167/6.205, allocations: 1.742 MB / 3.185 GB, free: 22.82 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/6.205, allocations: 4 kB / 3.185 GB, free: 22.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/6.205, allocations: 12 kB / 3.185 GB, free: 22.81 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/6.206, allocations: 300 kB / 3.186 GB, free: 22.52 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/6.206, allocations: 12 kB / 3.186 GB, free: 22.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/6.208, allocations: 242.4 kB / 3.186 GB, free: 22.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/6.208, allocations: 59.97 kB / 3.186 GB, free: 22.21 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 () * Number of clocked 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.0008779/6.209, allocations: 0.4996 MB / 3.186 GB, free: 21.68 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/6.209, allocations: 162.1 kB / 3.187 GB, free: 21.52 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/6.213, allocations: 2.344 MB / 3.189 GB, free: 19.15 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/6.213, allocations: 27.88 kB / 3.189 GB, free: 19.12 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/6.213, allocations: 0 / 3.189 GB, free: 19.12 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/6.213, allocations: 3.984 kB / 3.189 GB, free: 19.12 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/6.22, allocations: 3.682 MB / 3.193 GB, free: 15.34 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/6.22, allocations: 4 kB / 3.193 GB, free: 15.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/6.221, allocations: 223.9 kB / 3.193 GB, free: 15.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/6.221, allocations: 8 kB / 3.193 GB, free: 15.11 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.962e-05/6.221, allocations: 39.97 kB / 3.193 GB, free: 15.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/6.221, allocations: 11.98 kB / 3.193 GB, free: 15.06 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/6.221, allocations: 3.938 kB / 3.193 GB, free: 15.06 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/6.226, allocations: 3.205 MB / 3.196 GB, free: 11.77 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/6.227, allocations: 398.6 kB / 3.196 GB, free: 11.36 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/6.227, allocations: 28 kB / 3.196 GB, free: 11.33 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/6.229, allocations: 183.7 kB / 3.197 GB, free: 11.15 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/6.229, allocations: 80.83 kB / 3.197 GB, free: 11.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/6.229, allocations: 51.97 kB / 3.197 GB, free: 11.02 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001087/6.23, allocations: 0.8226 MB / 3.197 GB, free: 10.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/6.23, allocations: 0 / 3.197 GB, free: 10.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002605/6.233, allocations: 0.9207 MB / 3.198 GB, free: 9.281 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) * Number of clocked states: 0 () * 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.00164/6.234, allocations: 0.985 MB / 3.199 GB, free: 8.312 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004798/6.239, allocations: 2.776 MB / 3.202 GB, free: 5.465 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/6.239, allocations: 0 / 3.202 GB, free: 5.465 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/6.241, allocations: 1.074 MB / 3.203 GB, free: 4.355 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/6.243, allocations: 0.5896 MB / 3.204 GB, free: 3.77 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.648/6.892, allocations: 3.955 MB / 3.208 GB, free: 177.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009679/6.893, allocations: 1.307 MB / 3.209 GB, free: 176.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002146/6.895, allocations: 415.3 kB / 3.209 GB, free: 176.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/6.895, allocations: 139.9 kB / 3.209 GB, free: 176.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.242e-06/6.895, allocations: 0 / 3.209 GB, free: 176.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06236/6.958, allocations: 33.77 MB / 3.242 GB, free: 176.2 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