Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.0009592/0.0009592, allocations: 181.2 kB / 316 MB, free: 3.535 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.13/1.13, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.0008599/0.0008599, allocations: 96.84 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.362e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1639, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.66/3.824, allocations: 2.186 GB / 3.071 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/3.824, allocations: 87.95 kB / 3.071 GB, free: 218 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.449/6.274, allocations: 0.976 GB / 4.047 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.368e-05/6.274, allocations: 40.06 kB / 4.047 GB, free: 170.8 MB / 0.8855 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.004824/6.278, allocations: 1.751 MB / 4.049 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/6.279, allocations: 7.156 kB / 4.049 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003921/6.282, allocations: 0.7662 MB / 4.05 GB, free: 170 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/6.285, allocations: 1.039 MB / 4.051 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/6.285, allocations: 26.44 kB / 4.051 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/6.285, allocations: 60.86 kB / 4.051 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00147/6.287, allocations: 0.9749 MB / 4.052 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/6.288, allocations: 1.132 MB / 4.053 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/6.288, allocations: 3.5 kB / 4.053 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/6.288, allocations: 3.891 kB / 4.053 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/6.288, allocations: 54.44 kB / 4.053 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006246/6.294, allocations: 5.138 MB / 4.058 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/6.296, allocations: 0.8881 MB / 4.059 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/6.296, allocations: 496.8 kB / 4.059 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009942/6.297, allocations: 0.9474 MB / 4.06 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007051/6.298, allocations: 0.5986 MB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 2.866e-06/6.298, allocations: 3.438 kB / 4.061 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.002434/6.3, allocations: 1.153 MB / 4.062 GB, free: 166 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/6.3, allocations: 66.58 kB / 4.062 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/6.301, allocations: 0.8454 MB / 4.063 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/6.301, allocations: 29.39 kB / 4.063 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/6.302, allocations: 414.7 kB / 4.063 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/6.302, allocations: 263.5 kB / 4.063 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/6.302, allocations: 0 / 4.063 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.788e-05/6.302, allocations: 351.4 kB / 4.064 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/6.303, allocations: 420.4 kB / 4.064 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/6.303, allocations: 0.7388 MB / 4.065 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/6.304, allocations: 483.1 kB / 4.065 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/6.304, allocations: 3.781 kB / 4.065 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001631/6.305, allocations: 1.19 MB / 4.066 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/6.305, allocations: 6.906 kB / 4.066 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/6.305, allocations: 9.531 kB / 4.066 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/6.306, allocations: 21.73 kB / 4.066 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/6.307, allocations: 329.2 kB / 4.067 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/6.307, allocations: 11.81 kB / 4.067 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/6.308, allocations: 203.3 kB / 4.067 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/6.309, allocations: 61.81 kB / 4.067 GB, free: 164.6 MB / 0.8855 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.0001935/6.309, allocations: 141.5 kB / 4.067 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/6.309, allocations: 120.5 kB / 4.067 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/6.311, allocations: 1.214 MB / 4.068 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/6.311, allocations: 6.438 kB / 4.068 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/6.311, allocations: 3.562 kB / 4.068 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/6.311, allocations: 3.891 kB / 4.068 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/6.314, allocations: 2.622 MB / 4.071 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/6.314, allocations: 7.312 kB / 4.071 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/6.316, allocations: 263 kB / 4.071 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/6.316, allocations: 11.62 kB / 4.071 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/6.316, allocations: 24.67 kB / 4.071 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/6.316, allocations: 11.61 kB / 4.071 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.316, allocations: 8.469 kB / 4.071 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002241/6.318, allocations: 2.161 MB / 4.073 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/6.319, allocations: 331.9 kB / 4.074 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/6.319, allocations: 10.27 kB / 4.074 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/6.32, allocations: 143.7 kB / 4.074 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/6.32, allocations: 57.14 kB / 4.074 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-05/6.32, allocations: 41.72 kB / 4.074 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006204/6.321, allocations: 0.651 MB / 4.075 GB, free: 163 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001321/6.322, allocations: 461.7 kB / 4.075 GB, free: 163 MB / 0.8855 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.002292/6.325, allocations: 2.136 MB / 4.077 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001429/6.326, allocations: 1.043 MB / 4.078 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/6.326, allocations: 3.281 kB / 4.078 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/6.327, allocations: 0.5342 MB / 4.079 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/6.328, allocations: 409.8 kB / 4.079 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/6.332, allocations: 2.07 MB / 4.081 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/6.333, allocations: 1.368 MB / 4.082 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/6.333, allocations: 0 / 4.082 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.04649/6.379, allocations: 31.1 MB / 4.113 GB, free: 159.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches