Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 180.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001416/0.001417, allocations: 90.47 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.212e-05, allocations: 8 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2495, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.277, allocations: 382.4 MB / 1.265 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/1.278, allocations: 88.2 kB / 1.265 GB, free: 488 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.135/5.413, allocations: 0.9062 GB / 2.171 GB, free: 89.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.076e-06/5.413, allocations: 3.5 kB / 2.172 GB, free: 89.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003663/5.413, allocations: 51.92 kB / 2.172 GB, free: 89.63 MB / 0.8698 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.007057/5.42, allocations: 1.874 MB / 2.173 GB, free: 87.69 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.497e-05/5.42, allocations: 12.03 kB / 2.173 GB, free: 87.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/5.425, allocations: 0.6055 MB / 2.174 GB, free: 87.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006467/5.431, allocations: 1.461 MB / 2.175 GB, free: 85.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/5.431, allocations: 90 kB / 2.175 GB, free: 85.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006996/5.432, allocations: 104 kB / 2.176 GB, free: 85.37 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/5.436, allocations: 1.192 MB / 2.177 GB, free: 84.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.794e-05/5.436, allocations: 0.5156 kB / 2.177 GB, free: 84.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/5.436, allocations: 43.94 kB / 2.177 GB, free: 84.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/5.436, allocations: 24.34 kB / 2.177 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/5.439, allocations: 0.9363 MB / 2.178 GB, free: 83.11 MB / 0.8698 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.01155/5.45, allocations: 6.427 MB / 2.184 GB, free: 76.19 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/5.452, allocations: 0.9564 MB / 2.185 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007461/5.453, allocations: 0.5225 MB / 2.185 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/5.454, allocations: 2.265 MB / 2.188 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009925/5.455, allocations: 0.6856 MB / 2.188 GB, free: 71.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=100): time 4.588e-06/5.455, allocations: 0 / 2.188 GB, free: 71.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100): time 0.002769/5.458, allocations: 1.334 MB / 2.19 GB, free: 69.87 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/5.458, allocations: 145.3 kB / 2.19 GB, free: 69.69 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/5.461, allocations: 1.03 MB / 2.191 GB, free: 68.66 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/5.461, allocations: 49.7 kB / 2.191 GB, free: 68.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/5.462, allocations: 0.6942 MB / 2.192 GB, free: 67.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/5.462, allocations: 330.3 kB / 2.192 GB, free: 67.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/5.462, allocations: 16 kB / 2.192 GB, free: 67.56 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001321/5.462, allocations: 345.9 kB / 2.192 GB, free: 67.21 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/5.463, allocations: 421.8 kB / 2.193 GB, free: 66.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/5.464, allocations: 0.6844 MB / 2.193 GB, free: 66.01 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/5.464, allocations: 0.5541 MB / 2.194 GB, free: 65.45 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/5.464, allocations: 0 / 2.194 GB, free: 65.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002747/5.467, allocations: 1.479 MB / 2.195 GB, free: 63.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005359/5.468, allocations: 1.708 MB / 2.197 GB, free: 62.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/5.468, allocations: 8 kB / 2.197 GB, free: 62.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/5.468, allocations: 8 kB / 2.197 GB, free: 62.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/5.469, allocations: 283.6 kB / 2.197 GB, free: 61.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/5.469, allocations: 8 kB / 2.197 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/5.471, allocations: 231 kB / 2.197 GB, free: 61.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/5.471, allocations: 59.97 kB / 2.197 GB, free: 61.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/5.471, allocations: 4 kB / 2.197 GB, free: 61.47 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002169/5.474, allocations: 1.378 MB / 2.199 GB, free: 60.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/5.474, allocations: 4 kB / 2.199 GB, free: 60.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/5.474, allocations: 8 kB / 2.199 GB, free: 60.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/5.475, allocations: 280.1 kB / 2.199 GB, free: 59.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/5.475, allocations: 15.95 kB / 2.199 GB, free: 59.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/5.477, allocations: 234.4 kB / 2.199 GB, free: 59.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/5.477, allocations: 59.97 kB / 2.199 GB, free: 59.49 MB / 0.8698 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 () * 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.0004296/5.477, allocations: 278.4 kB / 2.2 GB, free: 59.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005484/5.478, allocations: 162 kB / 2.2 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/5.482, allocations: 2.043 MB / 2.202 GB, free: 56.97 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.08e-05/5.482, allocations: 16 kB / 2.202 GB, free: 56.95 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/5.482, allocations: 3.984 kB / 2.202 GB, free: 56.95 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/5.482, allocations: 11.73 kB / 2.202 GB, free: 56.94 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00634/5.488, allocations: 3.396 MB / 2.205 GB, free: 53.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/5.488, allocations: 0 / 2.205 GB, free: 53.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/5.489, allocations: 227.8 kB / 2.205 GB, free: 53.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/5.489, allocations: 12 kB / 2.205 GB, free: 53.21 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/5.49, allocations: 43.97 kB / 2.205 GB, free: 53.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/5.49, allocations: 4 kB / 2.205 GB, free: 53.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.49, allocations: 0 / 2.205 GB, free: 53.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/5.493, allocations: 2.733 MB / 2.208 GB, free: 50.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/5.494, allocations: 406.6 kB / 2.208 GB, free: 49.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/5.495, allocations: 31.98 kB / 2.209 GB, free: 49.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/5.496, allocations: 175.8 kB / 2.209 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/5.496, allocations: 72.91 kB / 2.209 GB, free: 49.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/5.496, allocations: 58.92 kB / 2.209 GB, free: 49.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001185/5.497, allocations: 0.798 MB / 2.21 GB, free: 48.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/5.497, allocations: 3.938 kB / 2.21 GB, free: 48.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002934/5.5, allocations: 0.9206 MB / 2.21 GB, free: 47.88 MB / 0.8698 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) * 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.002024/5.502, allocations: 0.9754 MB / 2.211 GB, free: 46.96 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00306/5.505, allocations: 2.302 MB / 2.214 GB, free: 44.58 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/5.505, allocations: 0 / 2.214 GB, free: 44.58 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/5.506, allocations: 0.9146 MB / 2.215 GB, free: 43.63 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/5.51, allocations: 0.6215 MB / 2.215 GB, free: 43.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/5.515, allocations: 2.476 MB / 2.218 GB, free: 40.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/5.516, allocations: 1.32 MB / 2.219 GB, free: 39.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002335/5.518, allocations: 0.4955 MB / 2.219 GB, free: 38.72 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/5.518, allocations: 127.3 kB / 2.22 GB, free: 38.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/5.518, allocations: 0 / 2.22 GB, free: 38.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.0651/5.583, allocations: 38.32 MB / 2.257 GB, free: 0.7031 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches