Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,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_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,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_X_wSetOnly") [: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.19/1.19, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.0009406/0.0009409, allocations: 185.2 kB / 316 MB, free: 3.602 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.07/1.07, allocations: 205.1 MB / 0.5667 GB, free: 15.72 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.0008379/0.0008378, allocations: 87.16 kB / 0.671 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.542e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.661/3.833, allocations: 2.186 GB / 3.071 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/3.833, allocations: 83.3 kB / 3.071 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.567/6.4, allocations: 0.9761 GB / 4.047 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.686e-05/6.401, allocations: 41.59 kB / 4.047 GB, free: 169.7 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.004915/6.405, allocations: 1.745 MB / 4.049 GB, free: 169 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/6.406, allocations: 11.03 kB / 4.049 GB, free: 169 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/6.409, allocations: 0.7687 MB / 4.05 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/6.412, allocations: 1.033 MB / 4.051 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/6.412, allocations: 29.55 kB / 4.051 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/6.412, allocations: 57.84 kB / 4.051 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/6.413, allocations: 0.9425 MB / 4.052 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/6.414, allocations: 1.147 MB / 4.053 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/6.415, allocations: 9.875 kB / 4.053 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/6.415, allocations: 0 / 4.053 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/6.415, allocations: 48.67 kB / 4.053 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006227/6.421, allocations: 5.665 MB / 4.058 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/6.422, allocations: 0.878 MB / 4.059 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/6.423, allocations: 0.4903 MB / 4.06 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/6.423, allocations: 0.5918 MB / 4.06 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006925/6.424, allocations: 0.5785 MB / 4.061 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 2.324e-06/6.424, allocations: 0 / 4.061 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.001969/6.426, allocations: 1.083 MB / 4.062 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/6.426, allocations: 60.84 kB / 4.062 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/6.427, allocations: 0.8659 MB / 4.063 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.834e-05/6.427, allocations: 29.17 kB / 4.063 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/6.427, allocations: 417.1 kB / 4.063 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/6.427, allocations: 268.2 kB / 4.063 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/6.427, allocations: 0 / 4.063 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.905e-05/6.427, allocations: 338.3 kB / 4.064 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/6.428, allocations: 424 kB / 4.064 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/6.429, allocations: 0.7425 MB / 4.065 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/6.429, allocations: 481.8 kB / 4.065 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/6.429, allocations: 0 / 4.065 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001603/6.431, allocations: 1.19 MB / 4.067 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/6.431, allocations: 7.188 kB / 4.067 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/6.431, allocations: 7.469 kB / 4.067 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/6.431, allocations: 13.94 kB / 4.067 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/6.432, allocations: 326.8 kB / 4.067 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/6.432, allocations: 18.84 kB / 4.067 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/6.434, allocations: 206.9 kB / 4.067 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/6.434, allocations: 61.56 kB / 4.067 GB, free: 163.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0001855/6.434, allocations: 139.9 kB / 4.067 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/6.434, allocations: 119.2 kB / 4.067 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/6.436, allocations: 1.186 MB / 4.069 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/6.436, allocations: 13.78 kB / 4.069 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/6.436, allocations: 3.938 kB / 4.069 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/6.436, allocations: 3.516 kB / 4.069 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/6.44, allocations: 2.617 MB / 4.071 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/6.44, allocations: 3.844 kB / 4.071 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/6.441, allocations: 259.2 kB / 4.071 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/6.441, allocations: 6.969 kB / 4.071 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/6.441, allocations: 30.11 kB / 4.071 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/6.441, allocations: 11.53 kB / 4.071 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/6.441, allocations: 3.969 kB / 4.071 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002187/6.443, allocations: 2.141 MB / 4.074 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/6.444, allocations: 325.2 kB / 4.074 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/6.444, allocations: 14.09 kB / 4.074 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/6.445, allocations: 147.2 kB / 4.074 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/6.445, allocations: 59.91 kB / 4.074 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/6.445, allocations: 46.95 kB / 4.074 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0005853/6.446, allocations: 0.6486 MB / 4.075 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001242/6.447, allocations: 453.5 kB / 4.075 GB, free: 161.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.002138/6.449, allocations: 2.125 MB / 4.077 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001274/6.451, allocations: 1.044 MB / 4.078 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/6.451, allocations: 3.688 kB / 4.078 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000653/6.451, allocations: 0.5343 MB / 4.079 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/6.453, allocations: 418.4 kB / 4.079 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/6.467, allocations: 2.797 MB / 4.082 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/6.468, allocations: 1.368 MB / 4.083 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of SimCode: time 4.2e-07/6.468, allocations: 0 / 4.083 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.0439/6.512, allocations: 30.75 MB / 4.113 GB, free: 158.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches