Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.738/1.738, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009553/0.0009553, allocations: 185.3 kB / 490.8 MB, free: 1.93 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.089/1.089, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.000777, allocations: 95.92 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.152e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1682, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.6293, allocations: 153 MB / 1.361 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.6295, allocations: 83.59 kB / 1.361 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02174/0.6513, allocations: 9.317 MB / 1.37 GB, free: 16.69 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.6513, allocations: 8.688 kB / 1.37 GB, free: 16.69 MB / 0.823 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.0004813/0.6518, allocations: 0.4947 MB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.6518, allocations: 9 kB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.6519, allocations: 30.3 kB / 1.371 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.6522, allocations: 265.5 kB / 1.371 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6522, allocations: 8.109 kB / 1.371 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.6522, allocations: 8.844 kB / 1.371 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008282/0.6531, allocations: 0.7215 MB / 1.372 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.6533, allocations: 194.3 kB / 1.372 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.6534, allocations: 0 / 1.372 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.6534, allocations: 8.844 kB / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.6534, allocations: 3.734 kB / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.6541, allocations: 0.5316 MB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.6544, allocations: 206.9 kB / 1.373 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.6545, allocations: 91.45 kB / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.6545, allocations: 20.55 kB / 1.373 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.6547, allocations: 158.8 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.323e-06/0.6547, allocations: 0 / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004019/0.6551, allocations: 262.3 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6552, allocations: 136.7 kB / 1.373 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.6554, allocations: 262.9 kB / 1.373 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.6555, allocations: 25.7 kB / 1.373 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.6555, allocations: 98.7 kB / 1.374 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.6556, allocations: 101.5 kB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.6556, allocations: 0 / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.6557, allocations: 339.9 kB / 1.374 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.6558, allocations: 74.81 kB / 1.374 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.6559, allocations: 114.4 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.6561, allocations: 103 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6561, allocations: 1.031 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000336/0.6564, allocations: 253 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.6564, allocations: 4.844 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6564, allocations: 0 / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.6565, allocations: 5.25 kB / 1.375 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.6567, allocations: 62.52 kB / 1.375 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.6567, allocations: 2.156 kB / 1.375 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.6568, allocations: 24.7 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.6569, allocations: 10.12 kB / 1.375 GB, free: 30.67 MB / 0.8386 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 7.466e-05/0.6569, allocations: 107.7 kB / 1.375 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.657, allocations: 28.34 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/0.6576, allocations: 378 kB / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6576, allocations: 3.312 kB / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6576, allocations: 0 / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6576, allocations: 6.297 kB / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.6578, allocations: 301.4 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6578, allocations: 0 / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.658, allocations: 54.33 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.658, allocations: 1.375 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.658, allocations: 15.17 kB / 1.375 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.658, allocations: 1 kB / 1.375 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.658, allocations: 4.969 kB / 1.375 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003429/0.6584, allocations: 304.6 kB / 1.376 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.6585, allocations: 152 kB / 1.376 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.6586, allocations: 2.625 kB / 1.376 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.6587, allocations: 12.22 kB / 1.376 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.6588, allocations: 26.56 kB / 1.376 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.6588, allocations: 12.38 kB / 1.376 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001635/0.659, allocations: 217.8 kB / 1.376 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000278/0.6593, allocations: 65.81 kB / 1.376 GB, free: 29.98 MB / 0.8386 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.0005283/0.6598, allocations: 318.2 kB / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.6601, allocations: 208.1 kB / 1.377 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.6601, allocations: 0.9688 kB / 1.377 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.6603, allocations: 119.8 kB / 1.377 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.6605, allocations: 22.19 kB / 1.377 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.6611, allocations: 394.6 kB / 1.377 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.6615, allocations: 0.8118 MB / 1.378 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.6615, allocations: 3.938 kB / 1.378 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.006636/0.6681, allocations: 3.572 MB / 1.382 GB, free: 28.52 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches