Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.014/2.014, allocations: 390.4 MB / 397.7 MB, free: 1.922 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 180 kB / 490.8 MB, free: 7.484 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.4 MB / 0.7863 GB, free: 252 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 100.5 kB / 0.9264 GB, free: 0.6328 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 9.809e-06/9.849e-06, allocations: 4 kB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3072, allocations: 143 MB / 1.212 GB, free: 10.57 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.483/4.79, allocations: 1.938 GB / 3.149 GB, free: 304.6 MB / 1.159 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/4.79, allocations: 83.14 kB / 3.149 GB, free: 304.6 MB / 1.159 GB Notification: Performance of FrontEnd: time 1.2/5.99, allocations: 318.9 MB / 3.461 GB, free: 269.4 MB / 1.159 GB Notification: Performance of Transformations before backend: time 0.0001101/5.99, allocations: 50.33 kB / 3.461 GB, free: 269.4 MB / 1.159 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.003053/5.993, allocations: 1.794 MB / 3.462 GB, free: 268.6 MB / 1.159 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/5.993, allocations: 7.938 kB / 3.462 GB, free: 268.6 MB / 1.159 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/5.997, allocations: 0.5296 MB / 3.463 GB, free: 268.5 MB / 1.159 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/5.998, allocations: 0.9769 MB / 3.464 GB, free: 268.3 MB / 1.159 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/5.998, allocations: 56.64 kB / 3.464 GB, free: 268.3 MB / 1.159 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/5.999, allocations: 95.53 kB / 3.464 GB, free: 268.3 MB / 1.159 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002363/6.001, allocations: 1.675 MB / 3.466 GB, free: 268.3 MB / 1.159 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/6.003, allocations: 1.47 MB / 3.467 GB, free: 268.1 MB / 1.159 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/6.003, allocations: 4.875 kB / 3.467 GB, free: 268.1 MB / 1.159 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/6.003, allocations: 3.438 kB / 3.467 GB, free: 268.1 MB / 1.159 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/6.003, allocations: 38.34 kB / 3.467 GB, free: 268.1 MB / 1.159 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006451/6.01, allocations: 4.677 MB / 3.472 GB, free: 266.7 MB / 1.159 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/6.011, allocations: 1.493 MB / 3.473 GB, free: 266.3 MB / 1.159 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/6.012, allocations: 0.5598 MB / 3.474 GB, free: 266.2 MB / 1.159 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008588/6.013, allocations: 1.128 MB / 3.475 GB, free: 265 MB / 1.159 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009055/6.014, allocations: 0.7376 MB / 3.476 GB, free: 264.9 MB / 1.159 GB Notification: Performance of pre-optimization done (n=137): time 3.196e-06/6.014, allocations: 0 / 3.476 GB, free: 264.9 MB / 1.159 GB Notification: Performance of matching and sorting (n=137): time 0.00316/6.017, allocations: 1.32 MB / 3.477 GB, free: 264.8 MB / 1.159 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/6.017, allocations: 253.6 kB / 3.477 GB, free: 264.5 MB / 1.159 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/6.018, allocations: 0.6188 MB / 3.478 GB, free: 264.4 MB / 1.159 GB Notification: Performance of collectPreVariables (initialization): time 9.296e-05/6.018, allocations: 29.05 kB / 3.478 GB, free: 264.3 MB / 1.159 GB Notification: Performance of collectInitialEqns (initialization): time 0.000277/6.018, allocations: 0.5099 MB / 3.478 GB, free: 264.1 MB / 1.159 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/6.018, allocations: 435 kB / 3.479 GB, free: 263.9 MB / 1.159 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/6.019, allocations: 5.594 kB / 3.479 GB, free: 263.9 MB / 1.159 GB Notification: Performance of setup shared object (initialization): time 7.036e-05/6.019, allocations: 355.7 kB / 3.479 GB, free: 263.6 MB / 1.159 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/6.019, allocations: 378.8 kB / 3.479 GB, free: 263.6 MB / 1.159 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/6.02, allocations: 0.5207 MB / 3.48 GB, free: 263.4 MB / 1.159 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007585/6.02, allocations: 477.7 kB / 3.48 GB, free: 263.4 MB / 1.159 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/6.02, allocations: 0 / 3.48 GB, free: 263.4 MB / 1.159 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002388/6.023, allocations: 1.26 MB / 3.482 GB, free: 263.3 MB / 1.159 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/6.023, allocations: 3.625 kB / 3.482 GB, free: 263.3 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/6.023, allocations: 3.969 kB / 3.482 GB, free: 263.3 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008753/6.024, allocations: 189 kB / 3.482 GB, free: 263.2 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/6.025, allocations: 300.3 kB / 3.482 GB, free: 263.2 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/6.029, allocations: 6.467 MB / 3.488 GB, free: 257.2 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/6.03, allocations: 114.7 kB / 3.488 GB, free: 257.2 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/6.031, allocations: 44.42 kB / 3.488 GB, free: 257.2 MB / 1.159 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.0003184/6.031, allocations: 130.9 kB / 3.489 GB, free: 257.1 MB / 1.159 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/6.031, allocations: 126.3 kB / 3.489 GB, free: 257.1 MB / 1.159 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/6.034, allocations: 1.597 MB / 3.49 GB, free: 256.9 MB / 1.159 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/6.034, allocations: 15.59 kB / 3.49 GB, free: 256.9 MB / 1.159 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/6.034, allocations: 3.969 kB / 3.49 GB, free: 256.9 MB / 1.159 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/6.034, allocations: 10.36 kB / 3.49 GB, free: 256.9 MB / 1.159 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/6.039, allocations: 2.956 MB / 3.493 GB, free: 256.5 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/6.039, allocations: 0 / 3.493 GB, free: 256.5 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/6.041, allocations: 310.1 kB / 3.493 GB, free: 256.5 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/6.041, allocations: 188.5 kB / 3.494 GB, free: 256.5 MB / 1.159 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/6.041, allocations: 24.81 kB / 3.494 GB, free: 256.5 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/6.045, allocations: 6.495 MB / 3.5 GB, free: 250.5 MB / 1.159 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/6.045, allocations: 0 / 3.5 GB, free: 250.5 MB / 1.159 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002873/6.048, allocations: 1.434 MB / 3.501 GB, free: 250.2 MB / 1.159 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008127/6.049, allocations: 396.4 kB / 3.502 GB, free: 250.1 MB / 1.159 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/6.049, allocations: 0 / 3.502 GB, free: 250.1 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/6.051, allocations: 103.1 kB / 3.502 GB, free: 250.1 MB / 1.159 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/6.051, allocations: 80 kB / 3.502 GB, free: 250.1 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/6.051, allocations: 69.22 kB / 3.502 GB, free: 250.1 MB / 1.159 GB Notification: Performance of sort global known variables: time 0.0006973/6.052, allocations: 0.489 MB / 3.503 GB, free: 250 MB / 1.159 GB Notification: Performance of remove unused functions: time 0.00219/6.054, allocations: 0.6272 MB / 3.503 GB, free: 249.9 MB / 1.159 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.003135/6.057, allocations: 1.697 MB / 3.505 GB, free: 249.6 MB / 1.159 GB Notification: Performance of simCode: created initialization part: time 0.002363/6.06, allocations: 1.563 MB / 3.506 GB, free: 249 MB / 1.159 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/6.06, allocations: 0.6562 kB / 3.506 GB, free: 249 MB / 1.159 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/6.061, allocations: 1.131 MB / 3.507 GB, free: 248.5 MB / 1.159 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/6.063, allocations: 388.9 kB / 3.508 GB, free: 248.5 MB / 1.159 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006297/6.069, allocations: 2.193 MB / 3.51 GB, free: 248 MB / 1.159 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/6.071, allocations: 1.458 MB / 3.511 GB, free: 247.3 MB / 1.159 GB Notification: Performance of SimCode: time 1.112e-06/6.071, allocations: 4.844 kB / 3.511 GB, free: 247.3 MB / 1.159 GB Notification: Performance of Templates: time 0.04967/6.121, allocations: 32.54 MB / 3.543 GB, free: 246.4 MB / 1.159 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches