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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.321/2.321, allocations: 390.5 MB / 398 MB, free: 10.92 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.001643/0.001643, allocations: 180.9 kB / 491.2 MB, free: 1.582 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.732/1.732, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001101/0.001101, allocations: 103.8 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.152e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2975, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.559/5.856, allocations: 1.868 GB / 3.081 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003779/5.857, allocations: 84.86 kB / 3.081 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.8697/6.727, allocations: 424.8 MB / 3.496 GB, free: 29.02 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.055e-06/6.727, allocations: 3.984 kB / 3.496 GB, free: 29.01 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.669e-05/6.727, allocations: 16 kB / 3.496 GB, free: 29 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.002829/6.73, allocations: 0.9887 MB / 3.497 GB, free: 27.95 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/6.73, allocations: 12.03 kB / 3.497 GB, free: 27.94 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/6.732, allocations: 282.9 kB / 3.497 GB, free: 27.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/6.733, allocations: 456.4 kB / 3.497 GB, free: 27.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/6.733, allocations: 15.98 kB / 3.497 GB, free: 27.16 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/6.733, allocations: 28 kB / 3.497 GB, free: 27.13 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000674/6.734, allocations: 314.5 kB / 3.498 GB, free: 26.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/6.735, allocations: 449.1 kB / 3.498 GB, free: 26.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/6.735, allocations: 3.938 kB / 3.498 GB, free: 26.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/6.735, allocations: 4 kB / 3.498 GB, free: 26.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/6.735, allocations: 8 kB / 3.498 GB, free: 26.34 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/6.737, allocations: 2.043 MB / 3.5 GB, free: 24.18 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/6.738, allocations: 302.7 kB / 3.5 GB, free: 23.87 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/6.738, allocations: 165.4 kB / 3.501 GB, free: 23.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/6.739, allocations: 388.4 kB / 3.501 GB, free: 23.25 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003418/6.739, allocations: 242.8 kB / 3.501 GB, free: 23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 3.216e-06/6.739, allocations: 0 / 3.501 GB, free: 23 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.0012/6.74, allocations: 448.5 kB / 3.502 GB, free: 22.56 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/6.74, allocations: 55.41 kB / 3.502 GB, free: 22.49 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/6.741, allocations: 313.2 kB / 3.502 GB, free: 22.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/6.741, allocations: 29.7 kB / 3.502 GB, free: 22.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/6.741, allocations: 272 kB / 3.502 GB, free: 21.88 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/6.741, allocations: 118.2 kB / 3.502 GB, free: 21.76 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/6.741, allocations: 0 / 3.502 GB, free: 21.76 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/6.741, allocations: 358.8 kB / 3.503 GB, free: 21.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/6.741, allocations: 137 kB / 3.503 GB, free: 21.27 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/6.742, allocations: 269.8 kB / 3.503 GB, free: 20.95 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/6.742, allocations: 219.7 kB / 3.503 GB, free: 20.74 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/6.742, allocations: 0 / 3.503 GB, free: 20.74 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008738/6.743, allocations: 0.4968 MB / 3.504 GB, free: 20.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/6.743, allocations: 64.95 kB / 3.504 GB, free: 20.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/6.743, allocations: 7.938 kB / 3.504 GB, free: 20.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/6.743, allocations: 8 kB / 3.504 GB, free: 20.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/6.744, allocations: 104.1 kB / 3.504 GB, free: 20.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/6.744, allocations: 8 kB / 3.504 GB, free: 20.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/6.744, allocations: 79.47 kB / 3.504 GB, free: 19.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/6.744, allocations: 24 kB / 3.504 GB, free: 19.93 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.0001371/6.744, allocations: 126.6 kB / 3.504 GB, free: 19.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/6.744, allocations: 51.42 kB / 3.504 GB, free: 19.75 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008752/6.745, allocations: 461.9 kB / 3.505 GB, free: 19.29 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/6.745, allocations: 4 kB / 3.505 GB, free: 19.29 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/6.745, allocations: 0 / 3.505 GB, free: 19.29 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/6.745, allocations: 3.984 kB / 3.505 GB, free: 19.29 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/6.747, allocations: 1.21 MB / 3.506 GB, free: 17.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/6.747, allocations: 4 kB / 3.506 GB, free: 17.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/6.748, allocations: 76.33 kB / 3.506 GB, free: 17.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/6.748, allocations: 12 kB / 3.506 GB, free: 17.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/6.748, allocations: 8 kB / 3.506 GB, free: 17.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/6.748, allocations: 19.88 kB / 3.506 GB, free: 17.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/6.748, allocations: 4 kB / 3.506 GB, free: 17.87 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/6.749, allocations: 0.9696 MB / 3.507 GB, free: 16.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/6.749, allocations: 152.4 kB / 3.507 GB, free: 16.58 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/6.749, allocations: 15.98 kB / 3.507 GB, free: 16.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/6.75, allocations: 44.02 kB / 3.507 GB, free: 16.52 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/6.75, allocations: 51.83 kB / 3.507 GB, free: 16.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/6.75, allocations: 19.98 kB / 3.507 GB, free: 16.45 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002133/6.75, allocations: 239 kB / 3.507 GB, free: 16.22 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.292e-06/6.75, allocations: 0 / 3.507 GB, free: 16.22 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001024/6.751, allocations: 251.6 kB / 3.508 GB, free: 15.97 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.002771/6.754, allocations: 1.652 MB / 3.509 GB, free: 14.26 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007004/6.755, allocations: 467.1 kB / 3.51 GB, free: 13.78 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/6.755, allocations: 0 / 3.51 GB, free: 13.78 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/6.755, allocations: 233 kB / 3.51 GB, free: 13.55 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/6.756, allocations: 183.6 kB / 3.51 GB, free: 13.37 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/6.758, allocations: 0.7685 MB / 3.511 GB, free: 12.54 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/6.758, allocations: 0.8781 MB / 3.512 GB, free: 11.63 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005394/6.759, allocations: 112.1 kB / 3.512 GB, free: 11.52 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/6.759, allocations: 35.44 kB / 3.512 GB, free: 11.49 MB / 1.151 GB Notification: Performance of SimCode: time 7.11e-07/6.759, allocations: 0 / 3.512 GB, free: 11.49 MB / 1.151 GB Notification: Performance of Templates: time 0.8103/7.569, allocations: 15.73 MB / 3.527 GB, free: 303.1 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