Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001236/0.001236, allocations: 184.8 kB / 496.1 MB, free: 12.89 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.697/1.697, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001006/0.001006, allocations: 95.95 kB / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.316e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3452, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.156/6.501, allocations: 1.875 GB / 3.093 GB, free: 362.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/6.501, allocations: 85.77 kB / 3.093 GB, free: 362.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.709/10.21, allocations: 1.018 GB / 4.112 GB, free: 252.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.714e-06/10.21, allocations: 3.688 kB / 4.112 GB, free: 252.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001089/10.21, allocations: 43.78 kB / 4.112 GB, free: 252.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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006786/10.22, allocations: 1.826 MB / 4.113 GB, free: 251 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/10.22, allocations: 6.156 kB / 4.113 GB, free: 251 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/10.22, allocations: 0.6924 MB / 4.114 GB, free: 250.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/10.23, allocations: 1.051 MB / 4.115 GB, free: 250 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/10.23, allocations: 72.67 kB / 4.115 GB, free: 250 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/10.23, allocations: 78.34 kB / 4.115 GB, free: 250 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/10.23, allocations: 1.254 MB / 4.116 GB, free: 249.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/10.23, allocations: 0 / 4.116 GB, free: 249.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/10.23, allocations: 30.28 kB / 4.117 GB, free: 249.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-05/10.23, allocations: 46.39 kB / 4.117 GB, free: 249.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/10.23, allocations: 1.018 MB / 4.118 GB, free: 248.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.007639/10.24, allocations: 5.309 MB / 4.123 GB, free: 244.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/10.24, allocations: 0.9264 MB / 4.124 GB, free: 243.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/10.24, allocations: 0.4917 MB / 4.124 GB, free: 242.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/10.24, allocations: 0.938 MB / 4.125 GB, free: 241.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008418/10.24, allocations: 0.6138 MB / 4.126 GB, free: 241.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.066e-06/10.24, allocations: 0 / 4.126 GB, free: 241.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=82): time 0.002489/10.24, allocations: 1.15 MB / 4.127 GB, free: 240 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/10.24, allocations: 60.19 kB / 4.127 GB, free: 239.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/10.25, allocations: 1.11 MB / 4.128 GB, free: 238.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/10.25, allocations: 41.7 kB / 4.128 GB, free: 238.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/10.25, allocations: 0.5728 MB / 4.128 GB, free: 238.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/10.25, allocations: 282.5 kB / 4.129 GB, free: 237.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/10.25, allocations: 19.31 kB / 4.129 GB, free: 237.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/10.25, allocations: 345.9 kB / 4.129 GB, free: 237.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/10.25, allocations: 425.8 kB / 4.13 GB, free: 237.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/10.25, allocations: 0.7284 MB / 4.13 GB, free: 236.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/10.25, allocations: 469.6 kB / 4.131 GB, free: 235.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/10.25, allocations: 0 / 4.131 GB, free: 235.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001895/10.25, allocations: 1.25 MB / 4.132 GB, free: 234.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/10.25, allocations: 11.98 kB / 4.132 GB, free: 234.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/10.25, allocations: 8 kB / 4.132 GB, free: 234.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.965e-05/10.25, allocations: 12 kB / 4.132 GB, free: 234.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/10.25, allocations: 314.5 kB / 4.132 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-05/10.25, allocations: 15.38 kB / 4.132 GB, free: 234.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/10.25, allocations: 231.6 kB / 4.132 GB, free: 234 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/10.25, allocations: 59.95 kB / 4.133 GB, free: 234 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * 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.0002688/10.25, allocations: 170.9 kB / 4.133 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/10.25, allocations: 142.3 kB / 4.133 GB, free: 233.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/10.26, allocations: 1.244 MB / 4.134 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/10.26, allocations: 12 kB / 4.134 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/10.26, allocations: 0 / 4.134 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/10.26, allocations: 3.984 kB / 4.134 GB, free: 232.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/10.26, allocations: 2.755 MB / 4.137 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/10.26, allocations: 4 kB / 4.137 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/10.26, allocations: 247.8 kB / 4.137 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/10.26, allocations: 8 kB / 4.137 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/10.26, allocations: 43.84 kB / 4.137 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/10.26, allocations: 12 kB / 4.137 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/10.26, allocations: 11.22 kB / 4.137 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/10.27, allocations: 2.197 MB / 4.139 GB, free: 226.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/10.27, allocations: 355.1 kB / 4.14 GB, free: 226.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/10.27, allocations: 27.95 kB / 4.14 GB, free: 226.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/10.27, allocations: 143.8 kB / 4.14 GB, free: 226.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/10.27, allocations: 64.64 kB / 4.14 GB, free: 226.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/10.27, allocations: 39.97 kB / 4.14 GB, free: 226.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001077/10.27, allocations: 0.8624 MB / 4.141 GB, free: 225.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/10.27, allocations: 0 / 4.141 GB, free: 225.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001728/10.27, allocations: 0.5036 MB / 4.141 GB, free: 224.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003085/10.27, allocations: 1.977 MB / 4.143 GB, free: 223.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001745/10.28, allocations: 1.052 MB / 4.144 GB, free: 222.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/10.28, allocations: 3.281 kB / 4.144 GB, free: 222.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000772/10.28, allocations: 0.543 MB / 4.145 GB, free: 221.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/10.28, allocations: 0.5839 MB / 4.145 GB, free: 220.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/10.28, allocations: 2.054 MB / 4.147 GB, free: 218.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/10.28, allocations: 1.204 MB / 4.148 GB, free: 217.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001683/10.28, allocations: 385.6 kB / 4.149 GB, free: 217.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/10.29, allocations: 123.4 kB / 4.149 GB, free: 217.1 MB / 1.167 GB Notification: Performance of SimCode: time 9.22e-07/10.29, allocations: 4 kB / 4.149 GB, free: 217.1 MB / 1.167 GB Notification: Performance of Templates: time 0.06168/10.35, allocations: 47.11 MB / 4.195 GB, free: 170.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches