Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [: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 1.966/1.966, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 190.7 kB / 487 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.3 MB / 0.7819 GB, free: 6.801 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 92.83 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.384e-06, allocations: 0 / 1.066 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8363/0.8363, allocations: 142.3 MB / 1.205 GB, free: 72.89 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.001/4.838, allocations: 1.937 GB / 3.142 GB, free: 143.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/4.838, allocations: 88.7 kB / 3.142 GB, free: 143.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.169/6.007, allocations: 318.9 MB / 3.453 GB, free: 277.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001052/6.007, allocations: 47.66 kB / 3.454 GB, free: 277.4 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003042/6.01, allocations: 1.796 MB / 3.455 GB, free: 275.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/6.011, allocations: 11.53 kB / 3.455 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/6.014, allocations: 0.5245 MB / 3.456 GB, free: 275.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/6.016, allocations: 0.9922 MB / 3.457 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/6.016, allocations: 56 kB / 3.457 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/6.016, allocations: 92 kB / 3.457 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002381/6.019, allocations: 1.666 MB / 3.459 GB, free: 272.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/6.021, allocations: 1.484 MB / 3.46 GB, free: 270.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/6.021, allocations: 3.984 kB / 3.46 GB, free: 270.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/6.021, allocations: 7.984 kB / 3.46 GB, free: 270.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/6.021, allocations: 40 kB / 3.46 GB, free: 270.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/6.028, allocations: 4.667 MB / 3.465 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/6.029, allocations: 1.492 MB / 3.466 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006439/6.03, allocations: 0.562 MB / 3.467 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008513/6.031, allocations: 1.128 MB / 3.468 GB, free: 262.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009011/6.032, allocations: 0.7354 MB / 3.468 GB, free: 261.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.085e-06/6.032, allocations: 3.938 kB / 3.468 GB, free: 261.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003261/6.035, allocations: 1.313 MB / 3.47 GB, free: 260.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/6.035, allocations: 252.6 kB / 3.47 GB, free: 259.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/6.036, allocations: 0.6174 MB / 3.471 GB, free: 259.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/6.036, allocations: 29.7 kB / 3.471 GB, free: 259.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/6.036, allocations: 0.5075 MB / 3.471 GB, free: 258.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/6.037, allocations: 441.3 kB / 3.471 GB, free: 258.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/6.037, allocations: 0 / 3.471 GB, free: 258.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/6.037, allocations: 353.9 kB / 3.472 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/6.037, allocations: 374.5 kB / 3.472 GB, free: 257.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/6.038, allocations: 0.5278 MB / 3.473 GB, free: 257 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000794/6.039, allocations: 481.5 kB / 3.473 GB, free: 256.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/6.039, allocations: 0 / 3.473 GB, free: 256.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00259/6.041, allocations: 1.255 MB / 3.474 GB, free: 255.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/6.041, allocations: 4 kB / 3.474 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/6.041, allocations: 0 / 3.474 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009582/6.042, allocations: 192.2 kB / 3.475 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/6.044, allocations: 303.6 kB / 3.475 GB, free: 254.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/6.048, allocations: 6.482 MB / 3.481 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/6.05, allocations: 111.2 kB / 3.481 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/6.05, allocations: 47.97 kB / 3.481 GB, free: 247.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003478/6.05, allocations: 129 kB / 3.481 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/6.05, allocations: 118.6 kB / 3.482 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/6.054, allocations: 1.592 MB / 3.483 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/6.054, allocations: 20 kB / 3.483 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/6.054, allocations: 0 / 3.483 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/6.054, allocations: 7.969 kB / 3.483 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/6.059, allocations: 2.963 MB / 3.486 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/6.059, allocations: 0 / 3.486 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/6.06, allocations: 311.6 kB / 3.486 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007732/6.061, allocations: 188.2 kB / 3.487 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.608e-05/6.061, allocations: 19.97 kB / 3.487 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/6.065, allocations: 6.502 MB / 3.493 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/6.065, allocations: 7.969 kB / 3.493 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00274/6.068, allocations: 1.427 MB / 3.494 GB, free: 233.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/6.068, allocations: 391.1 kB / 3.495 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/6.069, allocations: 7.984 kB / 3.495 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/6.07, allocations: 111.7 kB / 3.495 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/6.07, allocations: 81.09 kB / 3.495 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/6.07, allocations: 63.95 kB / 3.495 GB, free: 232.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005695/6.071, allocations: 499.1 kB / 3.495 GB, free: 232.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00194/6.073, allocations: 0.6231 MB / 3.496 GB, free: 231.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002326/6.075, allocations: 1.695 MB / 3.498 GB, free: 230.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002124/6.077, allocations: 1.558 MB / 3.499 GB, free: 228.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/6.077, allocations: 0.6562 kB / 3.499 GB, free: 228.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/6.078, allocations: 1.138 MB / 3.5 GB, free: 227.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/6.08, allocations: 388.7 kB / 3.501 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/6.085, allocations: 2.195 MB / 3.503 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/6.087, allocations: 1.464 MB / 3.504 GB, free: 223.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.112e-06/6.087, allocations: 0 / 3.504 GB, free: 223.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04473/6.131, allocations: 32.52 MB / 3.536 GB, free: 191 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches