Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [: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.694/1.694, 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.0009349/0.0009349, allocations: 184.1 kB / 490.8 MB, free: 1.898 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.05/1.05, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.0008234/0.0008236, allocations: 92.61 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.699e-06/4.719e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1639, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.66/2.824, allocations: 1.914 GB / 3.126 GB, free: 423.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/2.824, allocations: 83.95 kB / 3.126 GB, free: 423 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.2589/3.083, allocations: 167.8 MB / 3.29 GB, free: 252.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.919e-05/3.083, allocations: 4 kB / 3.29 GB, free: 252.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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006195/3.083, allocations: 0.6123 MB / 3.29 GB, free: 251.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/3.083, allocations: 8.031 kB / 3.29 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/3.084, allocations: 143.4 kB / 3.29 GB, free: 251.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/3.085, allocations: 423.1 kB / 3.291 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/3.085, allocations: 11.98 kB / 3.291 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/3.085, allocations: 15.91 kB / 3.291 GB, free: 250.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002687/3.085, allocations: 185 kB / 3.291 GB, free: 250.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/3.085, allocations: 241.7 kB / 3.291 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/3.085, allocations: 3.984 kB / 3.291 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/3.086, allocations: 0 / 3.291 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/3.086, allocations: 12.5 kB / 3.291 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/3.087, allocations: 1.266 MB / 3.292 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/3.087, allocations: 190.9 kB / 3.293 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/3.087, allocations: 88.78 kB / 3.293 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/3.087, allocations: 7.984 kB / 3.293 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/3.087, allocations: 38.56 kB / 3.293 GB, free: 248.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/3.087, allocations: 0 / 3.293 GB, free: 248.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005356/3.088, allocations: 226 kB / 3.293 GB, free: 248.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.153e-05/3.088, allocations: 51.41 kB / 3.293 GB, free: 248.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/3.088, allocations: 247.6 kB / 3.293 GB, free: 248.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/3.088, allocations: 25.7 kB / 3.293 GB, free: 248.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/3.088, allocations: 152.1 kB / 3.293 GB, free: 247.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/3.088, allocations: 74.94 kB / 3.293 GB, free: 247.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/3.088, allocations: 0 / 3.293 GB, free: 247.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.284e-05/3.088, allocations: 334.8 kB / 3.294 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/3.088, allocations: 67.92 kB / 3.294 GB, free: 247.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/3.088, allocations: 109.9 kB / 3.294 GB, free: 247.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/3.088, allocations: 79.19 kB / 3.294 GB, free: 247.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/3.088, allocations: 0 / 3.294 GB, free: 247.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000253/3.089, allocations: 225.1 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/3.089, allocations: 4 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/3.089, allocations: 0 / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/3.089, allocations: 4 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/3.089, allocations: 51.91 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/3.089, allocations: 4 kB / 3.294 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/3.089, allocations: 19.94 kB / 3.294 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/3.089, allocations: 8 kB / 3.294 GB, free: 246.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 5.03e-05/3.089, allocations: 108.9 kB / 3.294 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/3.089, allocations: 31.62 kB / 3.294 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/3.089, allocations: 34.08 kB / 3.295 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/3.089, allocations: 0 / 3.295 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/3.089, allocations: 0 / 3.295 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/3.089, allocations: 3.984 kB / 3.295 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/3.09, allocations: 365.8 kB / 3.295 GB, free: 246.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/3.09, allocations: 0 / 3.295 GB, free: 246.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/3.09, allocations: 31.98 kB / 3.295 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/3.09, allocations: 44.77 kB / 3.295 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/3.09, allocations: 3.938 kB / 3.295 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007524/3.091, allocations: 1.371 MB / 3.296 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/3.091, allocations: 0 / 3.296 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003816/3.091, allocations: 391.2 kB / 3.297 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/3.091, allocations: 128.7 kB / 3.297 GB, free: 244.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/3.091, allocations: 0 / 3.297 GB, free: 244.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/3.092, allocations: 7.906 kB / 3.297 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/3.092, allocations: 11.92 kB / 3.297 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/3.092, allocations: 15.98 kB / 3.297 GB, free: 244.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001212/3.092, allocations: 191.1 kB / 3.297 GB, free: 244 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004019/3.092, allocations: 147.7 kB / 3.297 GB, free: 243.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006253/3.093, allocations: 0.8206 MB / 3.298 GB, free: 243.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001927/3.093, allocations: 148 kB / 3.298 GB, free: 242.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/3.093, allocations: 7.938 kB / 3.298 GB, free: 242.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/3.093, allocations: 177.8 kB / 3.298 GB, free: 242.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007064/3.094, allocations: 165.9 kB / 3.298 GB, free: 242.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/3.095, allocations: 0.5428 MB / 3.299 GB, free: 242 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/3.095, allocations: 0.8338 MB / 3.3 GB, free: 241.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/3.095, allocations: 0 / 3.3 GB, free: 241.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01135/3.106, allocations: 9.489 MB / 3.309 GB, free: 231.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches