Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|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.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|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.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.0009747/0.0009747, allocations: 192.4 kB / 316 MB, free: 3.5 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.1 MB / 0.5667 GB, free: 15.56 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.0008889/0.0008888, allocations: 90.38 kB / 0.671 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.035e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1672, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.678/3.845, allocations: 2.186 GB / 3.071 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/3.845, allocations: 87.95 kB / 3.071 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.658/5.503, allocations: 0.6577 GB / 3.729 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.664e-05/5.503, allocations: 49.89 kB / 3.729 GB, free: 173 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004983/5.508, allocations: 1.773 MB / 3.73 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/5.508, allocations: 10.53 kB / 3.73 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/5.513, allocations: 0.9906 MB / 3.731 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/5.516, allocations: 1.141 MB / 3.733 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/5.516, allocations: 26.5 kB / 3.733 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/5.516, allocations: 61.25 kB / 3.733 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001563/5.518, allocations: 1.106 MB / 3.734 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/5.519, allocations: 1.156 MB / 3.735 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/5.519, allocations: 0 / 3.735 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.986e-05/5.519, allocations: 2 kB / 3.735 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/5.519, allocations: 51.66 kB / 3.735 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006737/5.526, allocations: 4.88 MB / 3.74 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/5.527, allocations: 1.043 MB / 3.741 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006919/5.528, allocations: 0.5898 MB / 3.741 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/5.529, allocations: 0.9485 MB / 3.742 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008942/5.53, allocations: 0.688 MB / 3.743 GB, free: 169 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=95): time 2.475e-06/5.53, allocations: 0 / 3.743 GB, free: 169 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002951/5.533, allocations: 1.328 MB / 3.744 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/5.533, allocations: 64.88 kB / 3.744 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/5.534, allocations: 0.8269 MB / 3.745 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.517e-05/5.534, allocations: 29.67 kB / 3.745 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/5.534, allocations: 377.7 kB / 3.745 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/5.534, allocations: 315 kB / 3.746 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/5.534, allocations: 0 / 3.746 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/5.534, allocations: 338.7 kB / 3.746 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/5.535, allocations: 496.5 kB / 3.746 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/5.536, allocations: 0.7348 MB / 3.747 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/5.537, allocations: 0.5253 MB / 3.748 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/5.537, allocations: 2.969 kB / 3.748 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001984/5.539, allocations: 1.301 MB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/5.539, allocations: 11.97 kB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/5.539, allocations: 4.344 kB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/5.539, allocations: 9.125 kB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/5.541, allocations: 378.6 kB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/5.541, allocations: 12.47 kB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/5.542, allocations: 242.3 kB / 3.75 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/5.543, allocations: 52.88 kB / 3.75 GB, free: 167.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0002205/5.543, allocations: 140.1 kB / 3.75 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/5.543, allocations: 119.2 kB / 3.75 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/5.545, allocations: 1.407 MB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/5.545, allocations: 9.375 kB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/5.545, allocations: 4.688 kB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/5.545, allocations: 3.609 kB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/5.55, allocations: 2.907 MB / 3.754 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/5.55, allocations: 4.406 kB / 3.754 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/5.552, allocations: 335 kB / 3.754 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/5.552, allocations: 11.59 kB / 3.754 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/5.552, allocations: 28.95 kB / 3.754 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/5.552, allocations: 7.906 kB / 3.754 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/5.552, allocations: 4.625 kB / 3.755 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003049/5.555, allocations: 2.445 MB / 3.757 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/5.556, allocations: 354.1 kB / 3.757 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/5.556, allocations: 9.375 kB / 3.757 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/5.557, allocations: 185.6 kB / 3.757 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/5.558, allocations: 66.52 kB / 3.757 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/5.558, allocations: 45.75 kB / 3.758 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007512/5.558, allocations: 0.6306 MB / 3.758 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001474/5.56, allocations: 478.8 kB / 3.759 GB, free: 163.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * 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.002593/5.563, allocations: 2.133 MB / 3.761 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002089/5.565, allocations: 1.199 MB / 3.762 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/5.565, allocations: 1.125 kB / 3.762 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/5.566, allocations: 0.6361 MB / 3.762 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/5.568, allocations: 424.1 kB / 3.763 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/5.584, allocations: 3.142 MB / 3.766 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/5.585, allocations: 1.398 MB / 3.767 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/5.585, allocations: 0 / 3.767 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.04504/5.63, allocations: 33.12 MB / 3.8 GB, free: 138.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches