Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,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_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,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_TSetOnly") [: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.972/1.972, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001086/0.001086, allocations: 189.2 kB / 490.8 MB, free: 1.957 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.363/1.363, allocations: 221.4 MB / 0.7863 GB, free: 13.78 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.000951/0.000951, allocations: 100.1 kB / 0.9264 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.963e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3038, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.714/5.018, allocations: 1.874 GB / 3.085 GB, free: 433.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/5.018, allocations: 79.64 kB / 3.086 GB, free: 433.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.098/8.116, allocations: 1.018 GB / 4.104 GB, free: 262.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001684/8.116, allocations: 38.44 kB / 4.104 GB, free: 262.9 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.008147/8.124, allocations: 1.88 MB / 4.105 GB, free: 262.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/8.124, allocations: 8.031 kB / 4.105 GB, free: 262.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/8.129, allocations: 0.7661 MB / 4.106 GB, free: 262.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/8.133, allocations: 1.058 MB / 4.107 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/8.133, allocations: 32.45 kB / 4.107 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/8.133, allocations: 51.16 kB / 4.107 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001901/8.135, allocations: 0.8862 MB / 4.108 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/8.137, allocations: 1.157 MB / 4.109 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/8.137, allocations: 7.562 kB / 4.109 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/8.137, allocations: 0.7031 kB / 4.109 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/8.137, allocations: 41.3 kB / 4.109 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008654/8.146, allocations: 5.15 MB / 4.114 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/8.148, allocations: 0.8783 MB / 4.115 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/8.148, allocations: 0.4933 MB / 4.116 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/8.15, allocations: 0.9511 MB / 4.117 GB, free: 258.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008086/8.15, allocations: 0.5981 MB / 4.117 GB, free: 257.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.778e-06/8.15, allocations: 0 / 4.117 GB, free: 257.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.003065/8.154, allocations: 1.152 MB / 4.118 GB, free: 257.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/8.154, allocations: 59.31 kB / 4.118 GB, free: 257.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/8.155, allocations: 0.8455 MB / 4.119 GB, free: 257 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/8.155, allocations: 37.45 kB / 4.119 GB, free: 257 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/8.155, allocations: 408.9 kB / 4.12 GB, free: 256.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/8.155, allocations: 270 kB / 4.12 GB, free: 256.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/8.155, allocations: 0 / 4.12 GB, free: 256.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/8.155, allocations: 345.6 kB / 4.12 GB, free: 256.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/8.156, allocations: 422.7 kB / 4.121 GB, free: 256 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/8.157, allocations: 0.7103 MB / 4.121 GB, free: 255.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007628/8.158, allocations: 485.7 kB / 4.122 GB, free: 255.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/8.158, allocations: 0 / 4.122 GB, free: 255.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001811/8.159, allocations: 1.192 MB / 4.123 GB, free: 254.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/8.159, allocations: 3.625 kB / 4.123 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/8.159, allocations: 6.438 kB / 4.123 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/8.159, allocations: 13.03 kB / 4.123 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/8.161, allocations: 331.8 kB / 4.123 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/8.161, allocations: 15.31 kB / 4.123 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/8.163, allocations: 198.3 kB / 4.124 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/8.163, allocations: 59.77 kB / 4.124 GB, free: 254.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0002079/8.163, allocations: 133.4 kB / 4.124 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/8.163, allocations: 119.4 kB / 4.124 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/8.165, allocations: 1.214 MB / 4.125 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/8.165, allocations: 7.5 kB / 4.125 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/8.166, allocations: 0 / 4.125 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/8.166, allocations: 3.984 kB / 4.125 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/8.17, allocations: 2.623 MB / 4.128 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/8.17, allocations: 8.625 kB / 4.128 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/8.172, allocations: 265.9 kB / 4.128 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/8.172, allocations: 9.875 kB / 4.128 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.762e-05/8.172, allocations: 29.08 kB / 4.128 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/8.172, allocations: 7.219 kB / 4.128 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/8.172, allocations: 8.875 kB / 4.128 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002888/8.175, allocations: 2.164 MB / 4.13 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006435/8.175, allocations: 330.1 kB / 4.13 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/8.176, allocations: 11.25 kB / 4.13 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/8.177, allocations: 139.7 kB / 4.13 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/8.177, allocations: 61.67 kB / 4.131 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/8.177, allocations: 42.56 kB / 4.131 GB, free: 250.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008488/8.178, allocations: 0.6373 MB / 4.131 GB, free: 249.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001631/8.18, allocations: 464 kB / 4.132 GB, free: 249.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.T,cooLimPow.T,heaCooUnl.T) * 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 (88): * Single equations (assignments): 82 * 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.002766/8.182, allocations: 2.125 MB / 4.134 GB, free: 248.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0017/8.184, allocations: 1.038 MB / 4.135 GB, free: 248.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/8.184, allocations: 0 / 4.135 GB, free: 248.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008328/8.185, allocations: 0.5444 MB / 4.135 GB, free: 248.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/8.187, allocations: 394.5 kB / 4.136 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/8.191, allocations: 2.064 MB / 4.138 GB, free: 247 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/8.193, allocations: 1.368 MB / 4.139 GB, free: 246 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/8.193, allocations: 2.375 kB / 4.139 GB, free: 246 MB / 1.151 GB Notification: Performance of Templates: time 0.04398/8.237, allocations: 30.66 MB / 4.169 GB, free: 218.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches