Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.933/1.933, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001083/0.001083, allocations: 185.2 kB / 490.8 MB, free: 1.898 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.355/1.355, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.000984/0.0009841, allocations: 95.73 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.275e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2492, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.45/3.699, allocations: 1.868 GB / 3.08 GB, free: 1.379 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/3.7, allocations: 83.95 kB / 3.08 GB, free: 1.297 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.407/5.107, allocations: 429.7 MB / 3.5 GB, free: 32.07 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.174e-05/5.107, allocations: 16 kB / 3.5 GB, free: 32.06 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.003215/5.111, allocations: 1.007 MB / 3.501 GB, free: 31 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/5.111, allocations: 8.031 kB / 3.501 GB, free: 30.99 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/5.113, allocations: 274.9 kB / 3.501 GB, free: 30.72 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/5.114, allocations: 476.1 kB / 3.501 GB, free: 30.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/5.114, allocations: 20 kB / 3.501 GB, free: 30.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/5.115, allocations: 27.94 kB / 3.501 GB, free: 30.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008271/5.115, allocations: 385.9 kB / 3.502 GB, free: 29.79 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/5.116, allocations: 497.6 kB / 3.502 GB, free: 29.27 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/5.116, allocations: 0 / 3.502 GB, free: 29.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/5.116, allocations: 0 / 3.502 GB, free: 29.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/5.116, allocations: 12 kB / 3.502 GB, free: 29.26 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/5.119, allocations: 2.136 MB / 3.504 GB, free: 27.01 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/5.12, allocations: 370.5 kB / 3.505 GB, free: 26.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/5.12, allocations: 193.4 kB / 3.505 GB, free: 26.45 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/5.121, allocations: 0.6363 MB / 3.506 GB, free: 25.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/5.121, allocations: 251.5 kB / 3.506 GB, free: 25.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.344e-06/5.121, allocations: 0 / 3.506 GB, free: 25.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.002127/5.124, allocations: 0.6213 MB / 3.506 GB, free: 24.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/5.124, allocations: 59.34 kB / 3.506 GB, free: 24.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/5.124, allocations: 305.2 kB / 3.507 GB, free: 24.42 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/5.124, allocations: 29.7 kB / 3.507 GB, free: 24.39 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/5.124, allocations: 215.9 kB / 3.507 GB, free: 24.17 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/5.124, allocations: 122.3 kB / 3.507 GB, free: 24.05 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/5.124, allocations: 8 kB / 3.507 GB, free: 24.04 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/5.124, allocations: 358.6 kB / 3.507 GB, free: 23.68 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/5.125, allocations: 140.9 kB / 3.508 GB, free: 23.54 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/5.125, allocations: 273.5 kB / 3.508 GB, free: 23.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/5.125, allocations: 239.6 kB / 3.508 GB, free: 22.99 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/5.125, allocations: 4 kB / 3.508 GB, free: 22.99 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00089/5.126, allocations: 0.5045 MB / 3.509 GB, free: 22.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/5.126, allocations: 8.312 kB / 3.509 GB, free: 22.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/5.126, allocations: 8 kB / 3.509 GB, free: 22.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/5.126, allocations: 4 kB / 3.509 GB, free: 22.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/5.127, allocations: 111.8 kB / 3.509 GB, free: 22.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/5.127, allocations: 8 kB / 3.509 GB, free: 22.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/5.128, allocations: 87.52 kB / 3.509 GB, free: 22.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/5.128, allocations: 20 kB / 3.509 GB, free: 22.23 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.0001197/5.128, allocations: 126.5 kB / 3.509 GB, free: 22.11 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/5.128, allocations: 51.42 kB / 3.509 GB, free: 22.05 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008713/5.129, allocations: 473.4 kB / 3.509 GB, free: 21.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/5.129, allocations: 4 kB / 3.509 GB, free: 21.58 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/5.129, allocations: 3.906 kB / 3.509 GB, free: 21.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/5.129, allocations: 3.984 kB / 3.509 GB, free: 21.57 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/5.131, allocations: 1.216 MB / 3.511 GB, free: 20.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/5.131, allocations: 8 kB / 3.511 GB, free: 20.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/5.131, allocations: 92.12 kB / 3.511 GB, free: 20.17 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/5.131, allocations: 4 kB / 3.511 GB, free: 20.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/5.131, allocations: 12 kB / 3.511 GB, free: 20.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/5.131, allocations: 4 kB / 3.511 GB, free: 20.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/5.131, allocations: 4 kB / 3.511 GB, free: 20.14 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00112/5.132, allocations: 1.001 MB / 3.512 GB, free: 18.99 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/5.132, allocations: 156.4 kB / 3.512 GB, free: 18.82 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/5.133, allocations: 8 kB / 3.512 GB, free: 18.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/5.133, allocations: 56 kB / 3.512 GB, free: 18.76 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/5.133, allocations: 55.78 kB / 3.512 GB, free: 18.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/5.133, allocations: 12 kB / 3.512 GB, free: 18.69 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000209/5.134, allocations: 231.2 kB / 3.512 GB, free: 18.47 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009722/5.135, allocations: 255.6 kB / 3.512 GB, free: 18.22 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.002407/5.137, allocations: 1.676 MB / 3.514 GB, free: 16.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000678/5.138, allocations: 430.9 kB / 3.515 GB, free: 16.04 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/5.138, allocations: 0 / 3.515 GB, free: 16.04 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004319/5.138, allocations: 243.7 kB / 3.515 GB, free: 15.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009964/5.139, allocations: 178.3 kB / 3.515 GB, free: 15.64 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/5.141, allocations: 0.789 MB / 3.516 GB, free: 14.78 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/5.141, allocations: 0.9245 MB / 3.517 GB, free: 13.83 MB / 1.151 GB Notification: Performance of SimCode: time 8.71e-07/5.141, allocations: 0 / 3.517 GB, free: 13.83 MB / 1.151 GB Notification: Performance of Templates: time 0.5502/5.692, allocations: 16.72 MB / 3.533 GB, free: 422.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches