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.442/2.442, allocations: 393.5 MB / 408.4 MB, free: 11 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.001368/0.001368, allocations: 179.5 kB / 0.4902 GB, free: 2.227 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.655/1.655, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.001217/0.001217, allocations: 98.27 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003889, allocations: 12.58 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3292, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.486, allocations: 402.5 MB / 1.622 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.487, allocations: 90.77 kB / 1.622 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.711/6.198, allocations: 1.539 GB / 3.161 GB, free: 20.31 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.565e-06/6.198, allocations: 0 / 3.161 GB, free: 20.31 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002789/6.198, allocations: 55.97 kB / 3.161 GB, free: 20.26 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.006307/6.204, allocations: 2.184 MB / 3.164 GB, free: 17.99 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/6.205, allocations: 8.031 kB / 3.164 GB, free: 17.98 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/6.208, allocations: 0.6065 MB / 3.164 GB, free: 17.38 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004417/6.212, allocations: 1.45 MB / 3.166 GB, free: 15.88 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.734e-05/6.212, allocations: 83.2 kB / 3.166 GB, free: 15.79 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/6.213, allocations: 111.9 kB / 3.166 GB, free: 15.68 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/6.216, allocations: 1.381 MB / 3.167 GB, free: 14.23 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/6.216, allocations: 7.938 kB / 3.167 GB, free: 14.22 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/6.216, allocations: 40.34 kB / 3.167 GB, free: 14.18 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/6.216, allocations: 27.95 kB / 3.167 GB, free: 14.15 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/6.219, allocations: 1.241 MB / 3.168 GB, free: 12.91 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.008137/6.227, allocations: 6.643 MB / 3.175 GB, free: 5.754 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/6.23, allocations: 1.253 MB / 3.176 GB, free: 4.492 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/6.231, allocations: 2.26 MB / 3.178 GB, free: 1.734 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/6.233, allocations: 0.8382 MB / 3.179 GB, free: 0.8633 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 4.248e-06/6.233, allocations: 4 kB / 3.179 GB, free: 0.8594 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.005669/6.239, allocations: 2.458 MB / 3.181 GB, free: 14.32 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/6.239, allocations: 149.1 kB / 3.182 GB, free: 14.14 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/6.241, allocations: 1.062 MB / 3.183 GB, free: 13.08 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/6.241, allocations: 45.7 kB / 3.183 GB, free: 13.03 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/6.242, allocations: 0.7053 MB / 3.183 GB, free: 12.31 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/6.242, allocations: 319.3 kB / 3.184 GB, free: 12 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/6.242, allocations: 20 kB / 3.184 GB, free: 11.98 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001707/6.243, allocations: 349.9 kB / 3.184 GB, free: 11.63 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/6.244, allocations: 0.58 MB / 3.185 GB, free: 11.05 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/6.246, allocations: 0.8751 MB / 3.185 GB, free: 10.06 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/6.248, allocations: 0.7106 MB / 3.186 GB, free: 9.332 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/6.248, allocations: 4 kB / 3.186 GB, free: 9.328 MB / 1.182 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004605/6.252, allocations: 1.852 MB / 3.188 GB, free: 7.453 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001064/6.253, allocations: 2.25 MB / 3.19 GB, free: 4.984 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/6.253, allocations: 8 kB / 3.19 GB, free: 4.977 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/6.253, allocations: 8 kB / 3.19 GB, free: 4.969 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/6.255, allocations: 295.5 kB / 3.19 GB, free: 4.68 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/6.255, allocations: 12 kB / 3.19 GB, free: 4.668 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/6.257, allocations: 246.9 kB / 3.191 GB, free: 4.426 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/6.257, allocations: 63.97 kB / 3.191 GB, free: 4.363 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/6.257, allocations: 8 kB / 3.191 GB, free: 4.355 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004286/6.262, allocations: 1.746 MB / 3.193 GB, free: 2.594 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/6.262, allocations: 4 kB / 3.193 GB, free: 2.59 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/6.262, allocations: 12 kB / 3.193 GB, free: 2.578 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/6.263, allocations: 291.9 kB / 3.193 GB, free: 2.293 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/6.263, allocations: 15.94 kB / 3.193 GB, free: 2.277 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/6.265, allocations: 238.9 kB / 3.193 GB, free: 2.043 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/6.265, allocations: 67.97 kB / 3.193 GB, free: 1.977 MB / 1.182 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.0011/6.266, allocations: 0.4996 MB / 3.194 GB, free: 1.449 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005209/6.267, allocations: 166 kB / 3.194 GB, free: 1.285 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6633/6.93, allocations: 2.332 MB / 3.196 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.265e-05/6.93, allocations: 16.97 kB / 3.196 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/6.93, allocations: 0 / 3.196 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/6.93, allocations: 4.969 kB / 3.196 GB, free: 185.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007929/6.938, allocations: 3.686 MB / 3.2 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/6.938, allocations: 4.812 kB / 3.2 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/6.939, allocations: 223.1 kB / 3.2 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/6.939, allocations: 6 kB / 3.2 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/6.94, allocations: 46.44 kB / 3.2 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/6.94, allocations: 5.016 kB / 3.2 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/6.94, allocations: 4.375 kB / 3.2 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006848/6.946, allocations: 3.209 MB / 3.203 GB, free: 185 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/6.948, allocations: 407.8 kB / 3.203 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/6.948, allocations: 29.39 kB / 3.203 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/6.949, allocations: 170.7 kB / 3.204 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/6.95, allocations: 74.36 kB / 3.204 GB, free: 184.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/6.95, allocations: 60.44 kB / 3.204 GB, free: 184.8 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001633/6.951, allocations: 0.8202 MB / 3.205 GB, free: 184.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.1e-07/6.951, allocations: 8.297 kB / 3.205 GB, free: 184.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003392/6.955, allocations: 0.9145 MB / 3.205 GB, free: 184.7 MB / 1.182 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.002051/6.957, allocations: 0.9707 MB / 3.206 GB, free: 184.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006222/6.963, allocations: 2.776 MB / 3.209 GB, free: 184.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/6.963, allocations: 2.344 kB / 3.209 GB, free: 184.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/6.965, allocations: 1.072 MB / 3.21 GB, free: 184 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/6.969, allocations: 0.5906 MB / 3.211 GB, free: 184 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006776/6.975, allocations: 3.959 MB / 3.215 GB, free: 182.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008839/6.976, allocations: 1.305 MB / 3.216 GB, free: 181.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00206/6.978, allocations: 416.4 kB / 3.216 GB, free: 181.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/6.979, allocations: 140.2 kB / 3.216 GB, free: 181.7 MB / 1.182 GB Notification: Performance of SimCode: time 2.104e-06/6.979, allocations: 0 / 3.216 GB, free: 181.7 MB / 1.182 GB Notification: Performance of Templates: time 0.05123/7.03, allocations: 33.81 MB / 3.249 GB, free: 181.2 MB / 1.182 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