Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [: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.974/1.974, allocations: 387.2 MB / 394.5 MB, free: 13.54 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.001101/0.001101, allocations: 180.5 kB / 487 MB, free: 5.234 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.395/1.395, allocations: 221.3 MB / 0.7819 GB, free: 1.301 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.001009/0.001009, allocations: 84.88 kB / 0.9213 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.316e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2828, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.159/4.441, allocations: 1.868 GB / 3.073 GB, free: 436.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/4.442, allocations: 85.44 kB / 3.073 GB, free: 436.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.7858/5.228, allocations: 429.7 MB / 3.493 GB, free: 18.87 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.112e-05/5.228, allocations: 19.98 kB / 3.493 GB, free: 18.85 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002014/5.23, allocations: 1.003 MB / 3.494 GB, free: 17.79 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/5.23, allocations: 12.03 kB / 3.494 GB, free: 17.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/5.232, allocations: 270.9 kB / 3.494 GB, free: 17.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/5.233, allocations: 484.1 kB / 3.494 GB, free: 17 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/5.233, allocations: 16 kB / 3.494 GB, free: 16.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/5.233, allocations: 31.98 kB / 3.494 GB, free: 16.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006073/5.233, allocations: 385.8 kB / 3.495 GB, free: 16.58 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/5.234, allocations: 497.6 kB / 3.495 GB, free: 16.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/5.234, allocations: 0 / 3.495 GB, free: 16.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/5.234, allocations: 7.906 kB / 3.495 GB, free: 16.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/5.234, allocations: 8 kB / 3.495 GB, free: 16.04 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/5.236, allocations: 2.121 MB / 3.497 GB, free: 13.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/5.237, allocations: 374.6 kB / 3.498 GB, free: 13.42 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/5.237, allocations: 196.7 kB / 3.498 GB, free: 13.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/5.238, allocations: 0.637 MB / 3.498 GB, free: 12.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/5.238, allocations: 255.5 kB / 3.499 GB, free: 12.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.194e-06/5.238, allocations: 0 / 3.499 GB, free: 12.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.00197/5.24, allocations: 0.6098 MB / 3.499 GB, free: 11.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/5.24, allocations: 63.41 kB / 3.499 GB, free: 11.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/5.24, allocations: 297.2 kB / 3.5 GB, free: 11.21 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/5.241, allocations: 33.69 kB / 3.5 GB, free: 11.17 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/5.241, allocations: 219.9 kB / 3.5 GB, free: 10.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/5.241, allocations: 122.2 kB / 3.5 GB, free: 10.83 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/5.241, allocations: 0 / 3.5 GB, free: 10.83 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/5.241, allocations: 350.8 kB / 3.5 GB, free: 10.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/5.241, allocations: 148.9 kB / 3.5 GB, free: 10.34 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/5.241, allocations: 273.4 kB / 3.501 GB, free: 10.02 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/5.242, allocations: 243.7 kB / 3.501 GB, free: 9.785 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/5.242, allocations: 0 / 3.501 GB, free: 9.785 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008158/5.243, allocations: 0.5132 MB / 3.501 GB, free: 9.266 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/5.243, allocations: 4 kB / 3.501 GB, free: 9.262 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/5.243, allocations: 4 kB / 3.501 GB, free: 9.258 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/5.243, allocations: 4 kB / 3.501 GB, free: 9.254 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/5.243, allocations: 111.9 kB / 3.502 GB, free: 9.145 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/5.243, allocations: 8 kB / 3.502 GB, free: 9.137 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/5.244, allocations: 83.47 kB / 3.502 GB, free: 9.055 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/5.244, allocations: 20 kB / 3.502 GB, free: 9.035 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001111/5.244, allocations: 124.8 kB / 3.502 GB, free: 8.906 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/5.244, allocations: 43.44 kB / 3.502 GB, free: 8.863 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/5.245, allocations: 485.6 kB / 3.502 GB, free: 8.379 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/5.245, allocations: 7.984 kB / 3.502 GB, free: 8.371 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/5.245, allocations: 0 / 3.502 GB, free: 8.371 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/5.245, allocations: 7.984 kB / 3.502 GB, free: 8.363 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/5.246, allocations: 1.217 MB / 3.503 GB, free: 7.059 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/5.246, allocations: 4 kB / 3.503 GB, free: 7.055 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/5.247, allocations: 88.31 kB / 3.504 GB, free: 6.969 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/5.247, allocations: 8 kB / 3.504 GB, free: 6.961 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/5.247, allocations: 4 kB / 3.504 GB, free: 6.957 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/5.247, allocations: 11.84 kB / 3.504 GB, free: 6.945 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/5.247, allocations: 4 kB / 3.504 GB, free: 6.941 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001114/5.248, allocations: 0.9998 MB / 3.505 GB, free: 5.793 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/5.248, allocations: 168.4 kB / 3.505 GB, free: 5.609 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/5.248, allocations: 8 kB / 3.505 GB, free: 5.602 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/5.249, allocations: 51.86 kB / 3.505 GB, free: 5.551 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/5.249, allocations: 51.86 kB / 3.505 GB, free: 5.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/5.249, allocations: 20 kB / 3.505 GB, free: 5.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001724/5.249, allocations: 231.2 kB / 3.505 GB, free: 5.262 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008523/5.25, allocations: 255.6 kB / 3.505 GB, free: 5.012 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002168/5.252, allocations: 1.669 MB / 3.507 GB, free: 3.273 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006026/5.253, allocations: 422.7 kB / 3.507 GB, free: 2.848 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/5.253, allocations: 0 / 3.507 GB, free: 2.848 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/5.253, allocations: 247.3 kB / 3.508 GB, free: 2.609 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/5.254, allocations: 173.8 kB / 3.508 GB, free: 2.441 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/5.256, allocations: 0.781 MB / 3.509 GB, free: 1.594 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/5.256, allocations: 0.9322 MB / 3.509 GB, free: 0.6367 MB / 1.151 GB Notification: Performance of SimCode: time 2.91e-07/5.256, allocations: 0 / 3.509 GB, free: 0.6367 MB / 1.151 GB Notification: Performance of Templates: time 0.5328/5.789, allocations: 16.73 MB / 3.526 GB, free: 411.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches