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.381/2.381, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001169/0.001169, allocations: 170.8 kB / 0.4902 GB, free: 2.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.794/1.794, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.0009626/0.0009626, allocations: 104 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004529, allocations: 11.06 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3877, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.63/6.018, allocations: 1.869 GB / 3.098 GB, free: 62.17 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/6.018, allocations: 89.92 kB / 3.098 GB, free: 62.12 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/7.612, allocations: 430.4 MB / 3.519 GB, free: 108 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.142e-06/7.612, allocations: 0 / 3.519 GB, free: 108 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.272e-05/7.612, allocations: 16 kB / 3.519 GB, free: 108 MB / 1.167 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.002739/7.615, allocations: 1.074 MB / 3.52 GB, free: 106.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/7.615, allocations: 8.031 kB / 3.52 GB, free: 106.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/7.617, allocations: 278.9 kB / 3.52 GB, free: 106.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/7.619, allocations: 457.7 kB / 3.521 GB, free: 106.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/7.619, allocations: 37 kB / 3.521 GB, free: 106.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/7.619, allocations: 47.92 kB / 3.521 GB, free: 106 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/7.62, allocations: 0.5508 MB / 3.521 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/7.62, allocations: 11.89 kB / 3.521 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/7.62, allocations: 19.98 kB / 3.521 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/7.62, allocations: 12 kB / 3.521 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/7.621, allocations: 467.6 kB / 3.522 GB, free: 104.9 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002666/7.624, allocations: 2.139 MB / 3.524 GB, free: 102.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/7.625, allocations: 422.4 kB / 3.524 GB, free: 102.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/7.625, allocations: 393 kB / 3.525 GB, free: 101.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/7.626, allocations: 302.8 kB / 3.525 GB, free: 101.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/7.626, allocations: 0 / 3.525 GB, free: 101.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.001698/7.627, allocations: 0.7119 MB / 3.526 GB, free: 100.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/7.627, allocations: 59.41 kB / 3.526 GB, free: 100.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/7.628, allocations: 433.2 kB / 3.526 GB, free: 100.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/7.628, allocations: 37.7 kB / 3.526 GB, free: 100.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/7.628, allocations: 256.4 kB / 3.526 GB, free: 99.96 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/7.628, allocations: 122.3 kB / 3.526 GB, free: 99.84 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/7.628, allocations: 11.94 kB / 3.526 GB, free: 99.83 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/7.628, allocations: 366.8 kB / 3.527 GB, free: 99.46 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/7.629, allocations: 204.8 kB / 3.527 GB, free: 99.27 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/7.629, allocations: 343.3 kB / 3.527 GB, free: 98.89 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/7.63, allocations: 292.6 kB / 3.528 GB, free: 98.59 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/7.63, allocations: 4 kB / 3.528 GB, free: 98.59 MB / 1.167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001248/7.631, allocations: 0.6565 MB / 3.528 GB, free: 97.91 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/7.631, allocations: 64.19 kB / 3.528 GB, free: 97.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/7.631, allocations: 0 / 3.528 GB, free: 97.84 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/7.631, allocations: 11.95 kB / 3.528 GB, free: 97.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/7.632, allocations: 103.8 kB / 3.528 GB, free: 97.72 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/7.632, allocations: 11.98 kB / 3.528 GB, free: 97.71 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/7.632, allocations: 91.39 kB / 3.528 GB, free: 97.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/7.633, allocations: 27.98 kB / 3.529 GB, free: 97.59 MB / 1.167 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 () * Number of clocked 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.0002704/7.633, allocations: 204.5 kB / 3.529 GB, free: 97.39 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/7.633, allocations: 51.34 kB / 3.529 GB, free: 97.34 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/7.634, allocations: 0.5527 MB / 3.529 GB, free: 96.77 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/7.634, allocations: 4 kB / 3.529 GB, free: 96.77 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/7.634, allocations: 3.953 kB / 3.529 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/7.634, allocations: 4 kB / 3.529 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/7.636, allocations: 1.356 MB / 3.531 GB, free: 95.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/7.636, allocations: 4 kB / 3.531 GB, free: 95.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/7.637, allocations: 83.83 kB / 3.531 GB, free: 95.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/7.637, allocations: 8 kB / 3.531 GB, free: 95.21 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/7.637, allocations: 15.98 kB / 3.531 GB, free: 95.19 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/7.637, allocations: 4 kB / 3.531 GB, free: 95.19 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/7.637, allocations: 4 kB / 3.531 GB, free: 95.18 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/7.638, allocations: 1.124 MB / 3.532 GB, free: 93.91 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/7.639, allocations: 172.2 kB / 3.532 GB, free: 93.72 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/7.639, allocations: 19.98 kB / 3.532 GB, free: 93.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/7.639, allocations: 55.97 kB / 3.532 GB, free: 93.64 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/7.639, allocations: 47.92 kB / 3.532 GB, free: 93.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/7.639, allocations: 19.98 kB / 3.532 GB, free: 93.58 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003532/7.64, allocations: 338.8 kB / 3.532 GB, free: 93.25 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.5e-07/7.64, allocations: 4 kB / 3.532 GB, free: 93.25 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001069/7.641, allocations: 291.8 kB / 3.533 GB, free: 92.96 MB / 1.167 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) * Number of clocked states: 0 () * 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.002094/7.643, allocations: 1.475 MB / 3.534 GB, free: 91.44 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001062/7.644, allocations: 0.6067 MB / 3.535 GB, free: 90.81 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/7.644, allocations: 0 / 3.535 GB, free: 90.81 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006024/7.645, allocations: 300.6 kB / 3.535 GB, free: 90.52 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/7.646, allocations: 269.6 kB / 3.535 GB, free: 90.25 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/7.648, allocations: 1.205 MB / 3.536 GB, free: 88.97 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/7.648, allocations: 0.8785 MB / 3.537 GB, free: 88.07 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005381/7.648, allocations: 128.7 kB / 3.537 GB, free: 87.94 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/7.649, allocations: 43.42 kB / 3.538 GB, free: 87.9 MB / 1.167 GB Notification: Performance of SimCode: time 6.11e-07/7.649, allocations: 0 / 3.538 GB, free: 87.9 MB / 1.167 GB Notification: Performance of Templates: time 0.03382/7.682, allocations: 27.27 MB / 3.564 GB, free: 60.75 MB / 1.167 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