Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [: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.342/1.342, allocations: 249.4 MB / 256.7 MB, free: 7.062 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.00115/0.00115, allocations: 188.4 kB / 316 MB, free: 3.516 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.355/1.355, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.001033/0.001032, allocations: 88.39 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.574e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2054, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.581/0.7864, allocations: 135.2 MB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.7867, allocations: 85.84 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0246/0.8113, allocations: 9.102 MB / 1.026 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.8114, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007015/0.8121, allocations: 0.4953 MB / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.8121, allocations: 8.031 kB / 1.026 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.8122, allocations: 23.72 kB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.8126, allocations: 274 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.8126, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.8126, allocations: 8 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009612/0.8136, allocations: 0.7229 MB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.8139, allocations: 197.6 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8139, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.814, allocations: 3.984 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.814, allocations: 4 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.8148, allocations: 0.5423 MB / 1.028 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.8151, allocations: 205.9 kB / 1.028 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.8152, allocations: 86.38 kB / 1.028 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.8153, allocations: 19.53 kB / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.8156, allocations: 167.5 kB / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.8156, allocations: 7.938 kB / 1.028 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0004592/0.816, allocations: 250.2 kB / 1.028 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.8161, allocations: 139.9 kB / 1.029 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.8164, allocations: 259.6 kB / 1.029 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.8164, allocations: 25.7 kB / 1.029 GB, free: 9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.8165, allocations: 102.6 kB / 1.029 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/0.8166, allocations: 97.47 kB / 1.029 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.8166, allocations: 0 / 1.029 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8168, allocations: 344.1 kB / 1.029 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.8169, allocations: 73.97 kB / 1.029 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.817, allocations: 111.5 kB / 1.03 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.8172, allocations: 100 kB / 1.03 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8172, allocations: 0 / 1.03 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003895/0.8176, allocations: 262.1 kB / 1.03 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.8176, allocations: 4 kB / 1.03 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8176, allocations: 4 kB / 1.03 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8177, allocations: 4 kB / 1.03 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.8179, allocations: 55.34 kB / 1.03 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.8179, allocations: 4 kB / 1.03 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.8181, allocations: 27.7 kB / 1.03 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.8181, allocations: 12 kB / 1.03 GB, free: 7.949 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 9.489e-05/0.8182, allocations: 108.9 kB / 1.03 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.8183, allocations: 27.72 kB / 1.03 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/0.8189, allocations: 383.7 kB / 1.031 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8189, allocations: 0 / 1.031 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8189, allocations: 7.906 kB / 1.031 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8189, allocations: 0 / 1.031 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.8192, allocations: 297.2 kB / 1.031 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8192, allocations: 0 / 1.031 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.8194, allocations: 55.05 kB / 1.031 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.563e-05/0.8195, allocations: 3.984 kB / 1.031 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.8195, allocations: 4 kB / 1.031 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.8195, allocations: 7.906 kB / 1.031 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8195, allocations: 4 kB / 1.031 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003735/0.8199, allocations: 291.4 kB / 1.031 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.8201, allocations: 156.5 kB / 1.031 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.8201, allocations: 3.938 kB / 1.031 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.8203, allocations: 19.98 kB / 1.031 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.8203, allocations: 23.39 kB / 1.031 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.8204, allocations: 11.12 kB / 1.031 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001772/0.8206, allocations: 216.8 kB / 1.032 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003017/0.8209, allocations: 55.94 kB / 1.032 GB, free: 6.461 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006346/0.8215, allocations: 311.9 kB / 1.032 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.8218, allocations: 213.3 kB / 1.032 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8219, allocations: 0 / 1.032 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.822, allocations: 116.1 kB / 1.032 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.8222, allocations: 27.62 kB / 1.032 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006854/0.8229, allocations: 392.5 kB / 1.033 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.8233, allocations: 0.8095 MB / 1.033 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.8233, allocations: 0 / 1.033 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of Templates: time 0.00687/0.8302, allocations: 3.572 MB / 1.037 GB, free: 1.238 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches