Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.122/2.122, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001303/0.001303, allocations: 189.2 kB / 487 MB, free: 5.395 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.383/1.383, allocations: 221.3 MB / 0.7819 GB, free: 1.473 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.001021/0.001021, allocations: 92.62 kB / 0.9213 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.352e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2856, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.788/5.074, allocations: 1.873 GB / 3.078 GB, free: 434.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.074, allocations: 85.44 kB / 3.078 GB, free: 434.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.381/8.455, allocations: 1.018 GB / 4.097 GB, free: 265.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001379/8.456, allocations: 39.75 kB / 4.097 GB, free: 265.1 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.007144/8.463, allocations: 1.876 MB / 4.098 GB, free: 264.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/8.463, allocations: 10.75 kB / 4.098 GB, free: 264.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/8.468, allocations: 0.7677 MB / 4.099 GB, free: 264.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/8.471, allocations: 1.058 MB / 4.1 GB, free: 264 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/8.471, allocations: 29.34 kB / 4.1 GB, free: 264 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/8.472, allocations: 50.81 kB / 4.1 GB, free: 264 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001718/8.473, allocations: 0.8503 MB / 4.101 GB, free: 264 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/8.475, allocations: 1.171 MB / 4.102 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/8.475, allocations: 0.6875 kB / 4.102 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.57e-05/8.475, allocations: 3.438 kB / 4.102 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/8.475, allocations: 44.56 kB / 4.102 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009863/8.485, allocations: 5.685 MB / 4.108 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/8.487, allocations: 0.8763 MB / 4.109 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/8.488, allocations: 0.4935 MB / 4.109 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008787/8.489, allocations: 0.5842 MB / 4.11 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009447/8.49, allocations: 0.5893 MB / 4.11 GB, free: 260 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 3.677e-06/8.49, allocations: 3.25 kB / 4.11 GB, free: 260 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.002849/8.492, allocations: 1.079 MB / 4.111 GB, free: 259.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/8.492, allocations: 59.94 kB / 4.111 GB, free: 259.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/8.494, allocations: 0.8586 MB / 4.112 GB, free: 259 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/8.494, allocations: 25.7 kB / 4.112 GB, free: 259 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/8.494, allocations: 415.8 kB / 4.113 GB, free: 258.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/8.494, allocations: 265.9 kB / 4.113 GB, free: 258.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/8.494, allocations: 0 / 4.113 GB, free: 258.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/8.494, allocations: 343.3 kB / 4.113 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/8.495, allocations: 418.2 kB / 4.114 GB, free: 258 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/8.496, allocations: 0.7193 MB / 4.114 GB, free: 257.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/8.496, allocations: 484.3 kB / 4.115 GB, free: 257.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/8.496, allocations: 3.719 kB / 4.115 GB, free: 257.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00174/8.498, allocations: 1.184 MB / 4.116 GB, free: 256.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/8.498, allocations: 3.719 kB / 4.116 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/8.498, allocations: 7.781 kB / 4.116 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/8.498, allocations: 21.62 kB / 4.116 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/8.5, allocations: 331.8 kB / 4.116 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/8.5, allocations: 20.3 kB / 4.116 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/8.502, allocations: 202 kB / 4.117 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/8.502, allocations: 57.47 kB / 4.117 GB, free: 256.4 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.0002617/8.502, allocations: 138.2 kB / 4.117 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/8.502, allocations: 115.9 kB / 4.117 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/8.505, allocations: 1.194 MB / 4.118 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/8.505, allocations: 9.188 kB / 4.118 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/8.505, allocations: 0 / 4.118 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/8.505, allocations: 3.984 kB / 4.118 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/8.509, allocations: 2.603 MB / 4.121 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/8.509, allocations: 8.094 kB / 4.121 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/8.511, allocations: 272.5 kB / 4.121 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/8.511, allocations: 10.88 kB / 4.121 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.616e-05/8.511, allocations: 26.8 kB / 4.121 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/8.511, allocations: 11.28 kB / 4.121 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/8.511, allocations: 9.094 kB / 4.121 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00284/8.514, allocations: 2.133 MB / 4.123 GB, free: 252.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006755/8.515, allocations: 322.8 kB / 4.123 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/8.515, allocations: 11.52 kB / 4.123 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/8.516, allocations: 149.5 kB / 4.123 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/8.516, allocations: 56 kB / 4.124 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.684e-05/8.516, allocations: 46.02 kB / 4.124 GB, free: 252.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007751/8.517, allocations: 0.6432 MB / 4.124 GB, free: 251.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001645/8.519, allocations: 463.7 kB / 4.125 GB, free: 251.7 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.003076/8.522, allocations: 2.129 MB / 4.127 GB, free: 250.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001761/8.524, allocations: 1.042 MB / 4.128 GB, free: 250.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/8.524, allocations: 0 / 4.128 GB, free: 250.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/8.524, allocations: 0.5428 MB / 4.128 GB, free: 250.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/8.527, allocations: 385.3 kB / 4.129 GB, free: 250.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/8.545, allocations: 2.786 MB / 4.131 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/8.547, allocations: 1.362 MB / 4.133 GB, free: 247.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.794e-06/8.547, allocations: 0 / 4.133 GB, free: 247.8 MB / 1.151 GB Notification: Performance of Templates: time 0.05427/8.602, allocations: 30.31 MB / 4.162 GB, free: 220.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches