Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.21/1.21, allocations: 249.4 MB / 256.7 MB, free: 7.148 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 173.2 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.058/1.058, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000837/0.000837, allocations: 84.34 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.573e-06/6.593e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.284/3.428, allocations: 2.21 GB / 3.095 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/3.428, allocations: 91.83 kB / 3.095 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.8558/4.284, allocations: 308.2 MB / 3.396 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001253/4.284, allocations: 53.14 kB / 3.396 GB, free: 220.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.003145/4.287, allocations: 1.793 MB / 3.397 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/4.287, allocations: 8.719 kB / 3.397 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003538/4.291, allocations: 0.5315 MB / 3.398 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/4.293, allocations: 0.9968 MB / 3.399 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.106e-05/4.293, allocations: 57.62 kB / 3.399 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/4.293, allocations: 94.88 kB / 3.399 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002727/4.296, allocations: 1.647 MB / 3.401 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/4.298, allocations: 1.482 MB / 3.402 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/4.299, allocations: 0 / 3.402 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/4.299, allocations: 3.438 kB / 3.402 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/4.299, allocations: 39.84 kB / 3.402 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008129/4.307, allocations: 4.84 MB / 3.407 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/4.309, allocations: 1.154 MB / 3.408 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/4.309, allocations: 0.5464 MB / 3.409 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008858/4.31, allocations: 1.132 MB / 3.41 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009425/4.311, allocations: 0.746 MB / 3.41 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 3.607e-06/4.311, allocations: 0 / 3.41 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.00323/4.314, allocations: 1.305 MB / 3.412 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/4.314, allocations: 252.6 kB / 3.412 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007838/4.315, allocations: 0.6332 MB / 3.413 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/4.315, allocations: 29.7 kB / 3.413 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/4.316, allocations: 0.5115 MB / 3.413 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/4.316, allocations: 437.3 kB / 3.413 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/4.316, allocations: 0 / 3.413 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.892e-05/4.316, allocations: 349.9 kB / 3.414 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/4.317, allocations: 370.5 kB / 3.414 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/4.317, allocations: 0.5192 MB / 3.415 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/4.318, allocations: 477.2 kB / 3.415 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/4.318, allocations: 3.062 kB / 3.415 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002388/4.32, allocations: 1.235 MB / 3.416 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/4.32, allocations: 4 kB / 3.416 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/4.32, allocations: 4 kB / 3.416 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000883/4.321, allocations: 184.2 kB / 3.417 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/4.323, allocations: 303.6 kB / 3.417 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/4.327, allocations: 6.477 MB / 3.423 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/4.328, allocations: 115.2 kB / 3.423 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/4.328, allocations: 47.91 kB / 3.423 GB, free: 195.1 MB / 0.8698 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.0003002/4.328, allocations: 132.8 kB / 3.423 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/4.328, allocations: 118.6 kB / 3.424 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/4.332, allocations: 1.596 MB / 3.425 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/4.332, allocations: 16 kB / 3.425 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/4.332, allocations: 0 / 3.425 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/4.332, allocations: 7.969 kB / 3.425 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/4.333, allocations: 1.253 MB / 3.426 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/4.333, allocations: 0 / 3.426 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/4.335, allocations: 299.6 kB / 3.427 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/4.335, allocations: 192 kB / 3.427 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.96e-05/4.336, allocations: 19.97 kB / 3.427 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/4.339, allocations: 6.504 MB / 3.433 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/4.339, allocations: 0 / 3.433 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00241/4.342, allocations: 1.36 MB / 3.435 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006197/4.342, allocations: 411.1 kB / 3.435 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/4.342, allocations: 0 / 3.435 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/4.344, allocations: 103.8 kB / 3.435 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/4.344, allocations: 81.17 kB / 3.435 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/4.344, allocations: 67.95 kB / 3.435 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005102/4.344, allocations: 0.5009 MB / 3.436 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001709/4.346, allocations: 0.6054 MB / 3.436 GB, free: 181.2 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.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.002042/4.348, allocations: 1.654 MB / 3.438 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001912/4.35, allocations: 1.554 MB / 3.439 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/4.35, allocations: 0.9375 kB / 3.439 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/4.351, allocations: 1.13 MB / 3.44 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/4.353, allocations: 385.4 kB / 3.441 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/4.358, allocations: 2.247 MB / 3.443 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/4.359, allocations: 1.481 MB / 3.444 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of SimCode: time 6.61e-07/4.359, allocations: 0 / 3.444 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.03943/4.398, allocations: 32.63 MB / 3.476 GB, free: 140.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches