Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_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_latest_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_latest_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 10.0.0-master/package.mo): time 2.014/2.014, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001022/0.001022, allocations: 174.6 kB / 490.8 MB, free: 1.863 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.344/1.344, allocations: 221.4 MB / 0.7863 GB, free: 13.6 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.0009584/0.0009585, allocations: 95.61 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.576e-05, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2806, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.567/4.847, allocations: 1.874 GB / 3.085 GB, free: 386.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/4.848, allocations: 83.95 kB / 3.086 GB, free: 386.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.185/8.033, allocations: 1.018 GB / 4.104 GB, free: 253.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001175/8.033, allocations: 42.23 kB / 4.104 GB, free: 253.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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.007473/8.04, allocations: 1.876 MB / 4.106 GB, free: 252.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/8.04, allocations: 9.75 kB / 4.106 GB, free: 252.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/8.045, allocations: 0.7684 MB / 4.106 GB, free: 252.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/8.049, allocations: 1.06 MB / 4.107 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/8.049, allocations: 25.34 kB / 4.107 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/8.049, allocations: 50.28 kB / 4.107 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001703/8.051, allocations: 0.8509 MB / 4.108 GB, free: 251.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/8.052, allocations: 1.172 MB / 4.109 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/8.052, allocations: 6.328 kB / 4.109 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/8.053, allocations: 3.781 kB / 4.109 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/8.053, allocations: 39.3 kB / 4.109 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008126/8.061, allocations: 5.685 MB / 4.115 GB, free: 245.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/8.062, allocations: 0.8828 MB / 4.116 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/8.063, allocations: 0.4902 MB / 4.116 GB, free: 244.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007617/8.063, allocations: 0.5833 MB / 4.117 GB, free: 243.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007402/8.064, allocations: 0.5841 MB / 4.117 GB, free: 243.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 3.085e-06/8.064, allocations: 0 / 4.117 GB, free: 243.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.002208/8.066, allocations: 1.08 MB / 4.119 GB, free: 242.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/8.067, allocations: 71.33 kB / 4.119 GB, free: 242.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/8.067, allocations: 0.8514 MB / 4.119 GB, free: 241.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-05/8.068, allocations: 29.7 kB / 4.119 GB, free: 241.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/8.068, allocations: 415.6 kB / 4.12 GB, free: 240.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/8.068, allocations: 260.2 kB / 4.12 GB, free: 240.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/8.068, allocations: 0 / 4.12 GB, free: 240.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/8.068, allocations: 341.9 kB / 4.12 GB, free: 240.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/8.069, allocations: 421.6 kB / 4.121 GB, free: 239.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/8.069, allocations: 0.7148 MB / 4.122 GB, free: 239 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/8.07, allocations: 480.3 kB / 4.122 GB, free: 238.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/8.07, allocations: 2.938 kB / 4.122 GB, free: 238.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001706/8.072, allocations: 1.195 MB / 4.123 GB, free: 237.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/8.072, allocations: 4 kB / 4.123 GB, free: 237.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/8.072, allocations: 8 kB / 4.123 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/8.072, allocations: 12 kB / 4.123 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/8.073, allocations: 338.8 kB / 4.124 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/8.073, allocations: 19.89 kB / 4.124 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/8.075, allocations: 197.3 kB / 4.124 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/8.075, allocations: 59.95 kB / 4.124 GB, free: 236.8 MB / 1.151 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.0002088/8.075, allocations: 134.7 kB / 4.124 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/8.076, allocations: 118.5 kB / 4.124 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/8.078, allocations: 1.194 MB / 4.125 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/8.078, allocations: 8 kB / 4.125 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/8.078, allocations: 0 / 4.125 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/8.078, allocations: 3.984 kB / 4.125 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/8.081, allocations: 2.601 MB / 4.128 GB, free: 232.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/8.081, allocations: 4 kB / 4.128 GB, free: 232.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/8.083, allocations: 261.6 kB / 4.128 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/8.083, allocations: 8 kB / 4.128 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/8.083, allocations: 31.95 kB / 4.128 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/8.083, allocations: 7.125 kB / 4.128 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/8.083, allocations: 8 kB / 4.128 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00246/8.085, allocations: 2.139 MB / 4.13 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/8.086, allocations: 327.2 kB / 4.13 GB, free: 229.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/8.086, allocations: 15.98 kB / 4.13 GB, free: 229.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/8.088, allocations: 148.3 kB / 4.131 GB, free: 229.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/8.088, allocations: 52.5 kB / 4.131 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/8.088, allocations: 47.95 kB / 4.131 GB, free: 229.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007361/8.089, allocations: 0.6405 MB / 4.131 GB, free: 228.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001534/8.09, allocations: 463.3 kB / 4.132 GB, free: 228.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.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.002828/8.093, allocations: 2.128 MB / 4.134 GB, free: 226.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001593/8.095, allocations: 1.042 MB / 4.135 GB, free: 225.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/8.095, allocations: 0 / 4.135 GB, free: 225.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006963/8.095, allocations: 0.5294 MB / 4.135 GB, free: 225.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/8.097, allocations: 395.4 kB / 4.136 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/8.113, allocations: 2.793 MB / 4.138 GB, free: 222.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/8.114, allocations: 1.364 MB / 4.14 GB, free: 220.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/8.114, allocations: 0 / 4.14 GB, free: 220.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04123/8.155, allocations: 30.32 MB / 4.169 GB, free: 191.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches