Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.962/1.962, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001025/0.001025, allocations: 177.3 kB / 490.8 MB, free: 1.949 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.423/1.423, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001059, allocations: 93.34 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.266e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3125, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.643/4.955, allocations: 1.874 GB / 3.085 GB, free: 433.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/4.956, allocations: 88.95 kB / 3.085 GB, free: 433.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.855/6.81, allocations: 0.6857 GB / 3.771 GB, free: 195.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.771e-05/6.811, allocations: 47.45 kB / 3.771 GB, free: 195.6 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.00653/6.817, allocations: 1.895 MB / 3.773 GB, free: 193.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/6.817, allocations: 12.03 kB / 3.773 GB, free: 193.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/6.823, allocations: 0.9798 MB / 3.774 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/6.826, allocations: 1.167 MB / 3.775 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/6.826, allocations: 32 kB / 3.775 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/6.827, allocations: 52 kB / 3.775 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001574/6.828, allocations: 1.019 MB / 3.776 GB, free: 190.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/6.83, allocations: 1.181 MB / 3.777 GB, free: 189.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/6.83, allocations: 5.578 kB / 3.777 GB, free: 189.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/6.83, allocations: 4 kB / 3.777 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/6.83, allocations: 41.97 kB / 3.777 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007575/6.837, allocations: 4.878 MB / 3.782 GB, free: 184.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/6.839, allocations: 1.047 MB / 3.783 GB, free: 183 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006852/6.839, allocations: 0.589 MB / 3.784 GB, free: 182.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/6.841, allocations: 0.9531 MB / 3.785 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008509/6.841, allocations: 0.6837 MB / 3.785 GB, free: 180.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 3.697e-06/6.841, allocations: 4 kB / 3.785 GB, free: 180.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.002771/6.844, allocations: 1.321 MB / 3.787 GB, free: 179.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/6.844, allocations: 64.19 kB / 3.787 GB, free: 179.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/6.845, allocations: 0.8216 MB / 3.788 GB, free: 178.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/6.845, allocations: 29.7 kB / 3.788 GB, free: 178.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/6.845, allocations: 372.5 kB / 3.788 GB, free: 178 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/6.846, allocations: 315.3 kB / 3.788 GB, free: 177.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/6.846, allocations: 0 / 3.788 GB, free: 177.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/6.846, allocations: 353.8 kB / 3.789 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/6.846, allocations: 493.8 kB / 3.789 GB, free: 176.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/6.847, allocations: 0.7117 MB / 3.79 GB, free: 176 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/6.848, allocations: 0.5181 MB / 3.79 GB, free: 175.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/6.848, allocations: 4 kB / 3.79 GB, free: 175.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001861/6.85, allocations: 1.306 MB / 3.792 GB, free: 174.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/6.85, allocations: 4 kB / 3.792 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/6.85, allocations: 4 kB / 3.792 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/6.85, allocations: 12.56 kB / 3.792 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/6.852, allocations: 368.8 kB / 3.792 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/6.852, allocations: 11.94 kB / 3.792 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/6.854, allocations: 240.4 kB / 3.792 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/6.854, allocations: 59.95 kB / 3.792 GB, free: 173.5 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.0002234/6.854, allocations: 130.8 kB / 3.792 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/6.854, allocations: 118.5 kB / 3.792 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/6.856, allocations: 1.394 MB / 3.794 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/6.856, allocations: 16 kB / 3.794 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/6.856, allocations: 0 / 3.794 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/6.856, allocations: 7.969 kB / 3.794 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/6.861, allocations: 2.923 MB / 3.797 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/6.861, allocations: 0 / 3.797 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/6.863, allocations: 333.2 kB / 3.797 GB, free: 168.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/6.863, allocations: 8 kB / 3.797 GB, free: 168.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/6.863, allocations: 23.97 kB / 3.797 GB, free: 168.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/6.863, allocations: 15.92 kB / 3.797 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/6.863, allocations: 4 kB / 3.797 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002843/6.866, allocations: 2.435 MB / 3.799 GB, free: 165.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006637/6.866, allocations: 355.1 kB / 3.8 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/6.867, allocations: 15.98 kB / 3.8 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/6.868, allocations: 181.3 kB / 3.8 GB, free: 165.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/6.868, allocations: 68.62 kB / 3.8 GB, free: 165.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/6.868, allocations: 47.95 kB / 3.8 GB, free: 165.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006687/6.869, allocations: 0.6313 MB / 3.801 GB, free: 164.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001508/6.871, allocations: 476.3 kB / 3.801 GB, free: 164.1 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.002452/6.873, allocations: 2.139 MB / 3.803 GB, free: 162.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001659/6.875, allocations: 1.195 MB / 3.804 GB, free: 160.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/6.875, allocations: 0 / 3.804 GB, free: 160.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007924/6.876, allocations: 0.6355 MB / 3.805 GB, free: 160.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/6.877, allocations: 410.6 kB / 3.805 GB, free: 159.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/6.893, allocations: 3.135 MB / 3.808 GB, free: 156.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/6.895, allocations: 1.397 MB / 3.81 GB, free: 155.2 MB / 1.151 GB Notification: Performance of SimCode: time 6.61e-07/6.895, allocations: 0 / 3.81 GB, free: 155.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04386/6.939, allocations: 32.68 MB / 3.842 GB, free: 122.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches