Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.0009407/0.0009406, allocations: 177.3 kB / 316 MB, free: 3.531 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.117/1.117, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0008149/0.0008149, allocations: 94.23 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.043e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1607, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.722/3.883, allocations: 2.182 GB / 3.066 GB, free: 224 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/3.883, allocations: 87.95 kB / 3.066 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.9612/4.844, allocations: 412.1 MB / 3.469 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.368e-05/4.844, allocations: 17.95 kB / 3.469 GB, free: 150.7 MB / 0.8698 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.00157/4.846, allocations: 1.011 MB / 3.47 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/4.846, allocations: 11.97 kB / 3.47 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/4.848, allocations: 270.9 kB / 3.47 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006859/4.848, allocations: 468.3 kB / 3.47 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/4.848, allocations: 12 kB / 3.47 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/4.849, allocations: 35.91 kB / 3.47 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005732/4.849, allocations: 397.8 kB / 3.471 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/4.85, allocations: 481.6 kB / 3.471 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/4.85, allocations: 8 kB / 3.471 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/4.85, allocations: 0 / 3.471 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/4.85, allocations: 8 kB / 3.471 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/4.852, allocations: 2.143 MB / 3.473 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/4.852, allocations: 383.4 kB / 3.474 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/4.853, allocations: 192.7 kB / 3.474 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/4.853, allocations: 0.6337 MB / 3.475 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/4.853, allocations: 251.7 kB / 3.475 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/4.853, allocations: 0 / 3.475 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.00186/4.855, allocations: 0.6215 MB / 3.475 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/4.855, allocations: 55.41 kB / 3.475 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/4.856, allocations: 305.4 kB / 3.476 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/4.856, allocations: 25.7 kB / 3.476 GB, free: 143 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/4.856, allocations: 224 kB / 3.476 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/4.856, allocations: 118.2 kB / 3.476 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/4.856, allocations: 0 / 3.476 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/4.856, allocations: 362.8 kB / 3.476 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/4.856, allocations: 140.9 kB / 3.477 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/4.856, allocations: 281.4 kB / 3.477 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/4.857, allocations: 235.5 kB / 3.477 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/4.857, allocations: 0 / 3.477 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007794/4.858, allocations: 0.5122 MB / 3.478 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/4.858, allocations: 4 kB / 3.478 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/4.858, allocations: 4.375 kB / 3.478 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/4.858, allocations: 12 kB / 3.478 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/4.858, allocations: 107.8 kB / 3.478 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/4.858, allocations: 11.91 kB / 3.478 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/4.859, allocations: 75.62 kB / 3.478 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/4.859, allocations: 27.98 kB / 3.478 GB, free: 140.9 MB / 0.8698 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.0001046/4.859, allocations: 124.8 kB / 3.478 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/4.859, allocations: 47.44 kB / 3.478 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000815/4.86, allocations: 485.6 kB / 3.478 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/4.86, allocations: 7.984 kB / 3.478 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/4.86, allocations: 0 / 3.478 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/4.86, allocations: 0 / 3.478 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/4.861, allocations: 1.235 MB / 3.48 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/4.861, allocations: 4 kB / 3.48 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/4.862, allocations: 88.05 kB / 3.48 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/4.862, allocations: 4 kB / 3.48 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/4.862, allocations: 7.984 kB / 3.48 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/4.862, allocations: 11.94 kB / 3.48 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/4.862, allocations: 4 kB / 3.48 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001034/4.863, allocations: 0.9881 MB / 3.481 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/4.863, allocations: 156.4 kB / 3.481 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/4.863, allocations: 7.984 kB / 3.481 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/4.864, allocations: 64.02 kB / 3.481 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/4.864, allocations: 47.78 kB / 3.481 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/4.864, allocations: 12 kB / 3.481 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001573/4.864, allocations: 235.2 kB / 3.481 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006908/4.865, allocations: 247.7 kB / 3.481 GB, free: 136.9 MB / 0.8698 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.001458/4.866, allocations: 1.667 MB / 3.483 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005167/4.867, allocations: 423.9 kB / 3.483 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/4.867, allocations: 7.938 kB / 3.483 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/4.867, allocations: 235.7 kB / 3.484 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/4.868, allocations: 181.3 kB / 3.484 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/4.869, allocations: 0.7879 MB / 3.485 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/4.869, allocations: 0.9333 MB / 3.486 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/4.869, allocations: 0 / 3.486 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.02018/4.89, allocations: 16.71 MB / 3.502 GB, free: 115.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches