Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009994/0.0009994, allocations: 187.9 kB / 487 MB, free: 5.395 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.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008414/0.0008416, allocations: 100.6 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.7e-06/5.731e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1738, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4953/0.6691, allocations: 152.2 MB / 1.354 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.6693, allocations: 82.03 kB / 1.354 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02297/0.6923, allocations: 9.322 MB / 1.363 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.6923, allocations: 8 kB / 1.363 GB, free: 14.07 MB / 0.8073 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.0004666/0.6928, allocations: 0.5016 MB / 1.364 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.6928, allocations: 8.031 kB / 1.364 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.6929, allocations: 27.62 kB / 1.364 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.6932, allocations: 267.5 kB / 1.364 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.6932, allocations: 8 kB / 1.364 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.6932, allocations: 11.98 kB / 1.364 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006503/0.6939, allocations: 0.7218 MB / 1.365 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.6941, allocations: 193.5 kB / 1.365 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6941, allocations: 0 / 1.365 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.6941, allocations: 0 / 1.365 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6941, allocations: 4 kB / 1.365 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.6947, allocations: 0.5292 MB / 1.365 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.695, allocations: 211.8 kB / 1.365 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.6951, allocations: 92.52 kB / 1.366 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.6951, allocations: 19.19 kB / 1.366 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.6953, allocations: 156.6 kB / 1.366 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 1.302e-06/0.6953, allocations: 0 / 1.366 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0003625/0.6957, allocations: 260.3 kB / 1.366 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.6957, allocations: 136.5 kB / 1.366 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.6959, allocations: 265.6 kB / 1.366 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.6959, allocations: 25.7 kB / 1.366 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.696, allocations: 96.66 kB / 1.366 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.696, allocations: 111 kB / 1.367 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.6961, allocations: 0 / 1.367 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.6961, allocations: 337.1 kB / 1.367 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.6962, allocations: 72.47 kB / 1.367 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.6963, allocations: 115.3 kB / 1.367 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.6965, allocations: 104.1 kB / 1.367 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6965, allocations: 0 / 1.367 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003243/0.6968, allocations: 253.6 kB / 1.367 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.6968, allocations: 4 kB / 1.367 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.6968, allocations: 3.938 kB / 1.367 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6968, allocations: 3.984 kB / 1.367 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.697, allocations: 63.22 kB / 1.367 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.697, allocations: 4 kB / 1.367 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.6972, allocations: 23.75 kB / 1.367 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.6972, allocations: 15.17 kB / 1.367 GB, free: 9.883 MB / 0.8073 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 6.284e-05/0.6973, allocations: 108.9 kB / 1.368 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.6973, allocations: 27.62 kB / 1.368 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.6978, allocations: 366.7 kB / 1.368 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6979, allocations: 8 kB / 1.368 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6979, allocations: 0 / 1.368 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6979, allocations: 0 / 1.368 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.6981, allocations: 309.9 kB / 1.368 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6981, allocations: 0 / 1.368 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.6982, allocations: 55.91 kB / 1.368 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6982, allocations: 4 kB / 1.368 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.6983, allocations: 11.8 kB / 1.368 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6983, allocations: 0 / 1.368 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6983, allocations: 0 / 1.368 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003037/0.6986, allocations: 304.5 kB / 1.369 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6987, allocations: 157.7 kB / 1.369 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.6987, allocations: 0 / 1.369 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.6989, allocations: 11.98 kB / 1.369 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.6989, allocations: 23.53 kB / 1.369 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.699, allocations: 15.86 kB / 1.369 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001301/0.6991, allocations: 214.7 kB / 1.369 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000266/0.6994, allocations: 63.78 kB / 1.369 GB, free: 8.402 MB / 0.8073 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.000511/0.6999, allocations: 320.7 kB / 1.369 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.7002, allocations: 206.3 kB / 1.37 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7002, allocations: 0 / 1.37 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.7003, allocations: 123.7 kB / 1.37 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.7005, allocations: 20.03 kB / 1.37 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.701, allocations: 389.1 kB / 1.37 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.7013, allocations: 0.8189 MB / 1.371 GB, free: 22.72 MB / 0.823 GB Notification: Performance of SimCode: time 2.9e-07/0.7013, allocations: 0 / 1.371 GB, free: 22.72 MB / 0.823 GB Notification: Performance of Templates: time 0.005283/0.7066, allocations: 3.559 MB / 1.374 GB, free: 19.2 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches