Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.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_9_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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [: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 9.1.1-maint.9.1.x/package.mo): time 2.114/2.114, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001337/0.001338, allocations: 180.5 kB / 487 MB, free: 5.398 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.474/1.474, allocations: 221.3 MB / 0.7819 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 107.4 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.776e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2964, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.006/5.302, allocations: 1.873 GB / 3.078 GB, free: 430.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/5.303, allocations: 85.83 kB / 3.078 GB, free: 430.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.127/8.43, allocations: 1.018 GB / 4.096 GB, free: 256.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001074/8.43, allocations: 46.84 kB / 4.096 GB, free: 256.2 MB / 1.151 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.006427/8.437, allocations: 1.864 MB / 4.098 GB, free: 255 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/8.437, allocations: 11.92 kB / 4.098 GB, free: 255 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/8.441, allocations: 0.7629 MB / 4.099 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/8.444, allocations: 1.063 MB / 4.1 GB, free: 254.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/8.444, allocations: 26 kB / 4.1 GB, free: 254.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/8.444, allocations: 55.62 kB / 4.1 GB, free: 254.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/8.446, allocations: 0.8813 MB / 4.101 GB, free: 253.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/8.447, allocations: 1.16 MB / 4.102 GB, free: 252.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/8.447, allocations: 5.125 kB / 4.102 GB, free: 252.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/8.447, allocations: 2.438 kB / 4.102 GB, free: 252.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-05/8.447, allocations: 39.27 kB / 4.102 GB, free: 252.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007402/8.455, allocations: 5.151 MB / 4.107 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/8.456, allocations: 0.8889 MB / 4.108 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006608/8.457, allocations: 495.1 kB / 4.109 GB, free: 248.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/8.458, allocations: 0.9478 MB / 4.11 GB, free: 247.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007742/8.459, allocations: 0.5966 MB / 4.11 GB, free: 246.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 4.398e-06/8.459, allocations: 2.625 kB / 4.11 GB, free: 246.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002669/8.462, allocations: 1.149 MB / 4.111 GB, free: 246.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/8.462, allocations: 59.91 kB / 4.111 GB, free: 246.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/8.463, allocations: 0.8511 MB / 4.112 GB, free: 245.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/8.463, allocations: 32.95 kB / 4.112 GB, free: 245.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/8.463, allocations: 410.8 kB / 4.113 GB, free: 245.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/8.463, allocations: 270.6 kB / 4.113 GB, free: 245.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/8.463, allocations: 0 / 4.113 GB, free: 245.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/8.463, allocations: 342.6 kB / 4.113 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/8.464, allocations: 419.5 kB / 4.114 GB, free: 244.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/8.465, allocations: 0.7023 MB / 4.114 GB, free: 244.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/8.465, allocations: 485.5 kB / 4.115 GB, free: 243.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/8.465, allocations: 3.25 kB / 4.115 GB, free: 243.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001784/8.467, allocations: 1.189 MB / 4.116 GB, free: 243.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/8.467, allocations: 3.938 kB / 4.116 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/8.467, allocations: 7.062 kB / 4.116 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/8.467, allocations: 16.16 kB / 4.116 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/8.469, allocations: 323.8 kB / 4.116 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/8.469, allocations: 23.98 kB / 4.116 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/8.47, allocations: 195.6 kB / 4.116 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/8.471, allocations: 57.78 kB / 4.116 GB, free: 243.2 MB / 1.151 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.0002098/8.471, allocations: 145.5 kB / 4.117 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/8.471, allocations: 117.7 kB / 4.117 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/8.473, allocations: 1.206 MB / 4.118 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/8.473, allocations: 7.25 kB / 4.118 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/8.473, allocations: 11.61 kB / 4.118 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/8.473, allocations: 3.984 kB / 4.118 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/8.477, allocations: 2.634 MB / 4.12 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/8.477, allocations: 7.156 kB / 4.12 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/8.479, allocations: 265.1 kB / 4.121 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/8.479, allocations: 8.375 kB / 4.121 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/8.479, allocations: 24.72 kB / 4.121 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/8.479, allocations: 11.23 kB / 4.121 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/8.479, allocations: 4.188 kB / 4.121 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003729/8.483, allocations: 2.167 MB / 4.123 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/8.484, allocations: 330.9 kB / 4.123 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/8.484, allocations: 6.625 kB / 4.123 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/8.485, allocations: 148.3 kB / 4.123 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/8.486, allocations: 57.05 kB / 4.123 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/8.486, allocations: 45.83 kB / 4.123 GB, free: 238.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001653/8.487, allocations: 0.6372 MB / 4.124 GB, free: 238.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00345/8.491, allocations: 468.1 kB / 4.124 GB, free: 238.4 MB / 1.151 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.004098/8.495, allocations: 2.133 MB / 4.127 GB, free: 236.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001963/8.497, allocations: 1.039 MB / 4.128 GB, free: 235.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/8.497, allocations: 3.656 kB / 4.128 GB, free: 235.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/8.498, allocations: 0.5333 MB / 4.128 GB, free: 235.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/8.5, allocations: 392 kB / 4.128 GB, free: 235 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/8.504, allocations: 2.056 MB / 4.131 GB, free: 233 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/8.505, allocations: 1.364 MB / 4.132 GB, free: 231.6 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/8.505, allocations: 3.062 kB / 4.132 GB, free: 231.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04116/8.546, allocations: 30.65 MB / 4.162 GB, free: 201.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches