Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.145/2.145, allocations: 387.2 MB / 394.5 MB, free: 13.57 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.0013/0.0013, allocations: 181.3 kB / 487 MB, free: 5.293 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.533/1.533, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.00101/0.00101, allocations: 104.6 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.864e-06/7.894e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.022/5.331, allocations: 1.873 GB / 3.078 GB, free: 429.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/5.331, allocations: 82.39 kB / 3.078 GB, free: 429.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.832/7.163, allocations: 0.6858 GB / 3.764 GB, free: 167.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001083/7.163, allocations: 48.91 kB / 3.764 GB, free: 167.5 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007009/7.17, allocations: 1.89 MB / 3.766 GB, free: 165.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/7.171, allocations: 17.02 kB / 3.766 GB, free: 165.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/7.176, allocations: 0.9867 MB / 3.767 GB, free: 164.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/7.18, allocations: 1.165 MB / 3.768 GB, free: 163.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/7.18, allocations: 24 kB / 3.768 GB, free: 163.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/7.181, allocations: 52 kB / 3.768 GB, free: 163.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001711/7.182, allocations: 1.023 MB / 3.769 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/7.184, allocations: 1.181 MB / 3.77 GB, free: 161.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/7.184, allocations: 0 / 3.77 GB, free: 161.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/7.184, allocations: 4 kB / 3.77 GB, free: 161.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-05/7.184, allocations: 41.97 kB / 3.77 GB, free: 161 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007936/7.192, allocations: 4.883 MB / 3.775 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/7.193, allocations: 1.045 MB / 3.776 GB, free: 155 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/7.194, allocations: 0.5812 MB / 3.777 GB, free: 154.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/7.195, allocations: 0.952 MB / 3.778 GB, free: 153.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000865/7.196, allocations: 0.6837 MB / 3.778 GB, free: 152.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 3.787e-06/7.196, allocations: 0 / 3.778 GB, free: 152.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.002906/7.199, allocations: 1.329 MB / 3.78 GB, free: 151.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/7.199, allocations: 64.19 kB / 3.78 GB, free: 151.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/7.2, allocations: 0.8178 MB / 3.78 GB, free: 150.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/7.2, allocations: 37.69 kB / 3.781 GB, free: 150.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/7.2, allocations: 372.5 kB / 3.781 GB, free: 149.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/7.201, allocations: 314.1 kB / 3.781 GB, free: 149.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/7.201, allocations: 0 / 3.781 GB, free: 149.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/7.201, allocations: 349.8 kB / 3.781 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/7.202, allocations: 493.8 kB / 3.782 GB, free: 148.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/7.202, allocations: 0.7117 MB / 3.783 GB, free: 147.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/7.203, allocations: 0.5181 MB / 3.783 GB, free: 147.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/7.203, allocations: 4 kB / 3.783 GB, free: 147.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001934/7.205, allocations: 1.306 MB / 3.784 GB, free: 146.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/7.205, allocations: 4 kB / 3.784 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/7.205, allocations: 4 kB / 3.784 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/7.205, allocations: 8 kB / 3.784 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/7.207, allocations: 376 kB / 3.785 GB, free: 145.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/7.207, allocations: 11.98 kB / 3.785 GB, free: 145.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/7.209, allocations: 239 kB / 3.785 GB, free: 145.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/7.209, allocations: 55.95 kB / 3.785 GB, free: 145.4 MB / 1.151 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.0002436/7.209, allocations: 150.3 kB / 3.785 GB, free: 145.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/7.209, allocations: 110.6 kB / 3.785 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/7.212, allocations: 1.398 MB / 3.787 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/7.212, allocations: 12 kB / 3.787 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/7.212, allocations: 8 kB / 3.787 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/7.212, allocations: 3.984 kB / 3.787 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/7.216, allocations: 2.919 MB / 3.79 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/7.216, allocations: 4 kB / 3.79 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/7.218, allocations: 334 kB / 3.79 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/7.218, allocations: 8 kB / 3.79 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/7.218, allocations: 27.95 kB / 3.79 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/7.218, allocations: 8 kB / 3.79 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/7.218, allocations: 7.938 kB / 3.79 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002925/7.221, allocations: 2.442 MB / 3.792 GB, free: 137.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/7.222, allocations: 343.3 kB / 3.793 GB, free: 137.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/7.222, allocations: 15.98 kB / 3.793 GB, free: 137.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/7.224, allocations: 183.7 kB / 3.793 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/7.224, allocations: 64.61 kB / 3.793 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/7.224, allocations: 47.95 kB / 3.793 GB, free: 137.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007334/7.225, allocations: 0.6275 MB / 3.794 GB, free: 136.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00158/7.226, allocations: 479.2 kB / 3.794 GB, free: 136 MB / 1.151 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.002707/7.229, allocations: 2.123 MB / 3.796 GB, free: 134.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001787/7.231, allocations: 1.191 MB / 3.797 GB, free: 132.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/7.231, allocations: 0 / 3.797 GB, free: 132.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008173/7.232, allocations: 0.6393 MB / 3.798 GB, free: 132.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/7.234, allocations: 410.7 kB / 3.798 GB, free: 131.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/7.25, allocations: 3.15 MB / 3.801 GB, free: 128.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/7.251, allocations: 1.389 MB / 3.803 GB, free: 127.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.314e-06/7.251, allocations: 0 / 3.803 GB, free: 127.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04518/7.297, allocations: 32.69 MB / 3.835 GB, free: 94.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches