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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 181.3 kB / 326.5 MB, free: 2.258 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.992/1.992, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009284/0.0009285, allocations: 100.1 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 10.19 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.173/5.428, allocations: 2.181 GB / 3.081 GB, free: 40 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/5.429, allocations: 87.95 kB / 3.082 GB, free: 39.91 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.115/7.543, allocations: 412.9 MB / 3.485 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.844e-06/7.543, allocations: 0 / 3.485 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.708e-05/7.544, allocations: 17.84 kB / 3.485 GB, free: 213.8 MB / 0.8855 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.003272/7.547, allocations: 1.072 MB / 3.486 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/7.547, allocations: 8.375 kB / 3.486 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/7.549, allocations: 281.5 kB / 3.486 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/7.55, allocations: 464.1 kB / 3.486 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/7.55, allocations: 42.66 kB / 3.487 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/7.551, allocations: 41.78 kB / 3.487 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/7.552, allocations: 0.5479 MB / 3.487 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/7.552, allocations: 1.219 kB / 3.487 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/7.552, allocations: 16.97 kB / 3.487 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/7.552, allocations: 10.84 kB / 3.487 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/7.553, allocations: 469.5 kB / 3.488 GB, free: 212.9 MB / 0.8855 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.003093/7.556, allocations: 2.14 MB / 3.49 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/7.557, allocations: 420.5 kB / 3.49 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/7.558, allocations: 398.8 kB / 3.49 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006874/7.558, allocations: 296.7 kB / 3.491 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/7.558, allocations: 0 / 3.491 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.002097/7.561, allocations: 0.7135 MB / 3.491 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/7.561, allocations: 59.25 kB / 3.491 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/7.561, allocations: 436.9 kB / 3.492 GB, free: 211 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/7.561, allocations: 33.33 kB / 3.492 GB, free: 211 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/7.562, allocations: 263.4 kB / 3.492 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/7.562, allocations: 131.8 kB / 3.492 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/7.562, allocations: 13.12 kB / 3.492 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000149/7.562, allocations: 367.1 kB / 3.493 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/7.562, allocations: 206.3 kB / 3.493 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/7.563, allocations: 342.4 kB / 3.493 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/7.564, allocations: 277.1 kB / 3.493 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/7.564, allocations: 0.9375 kB / 3.493 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001386/7.565, allocations: 0.6731 MB / 3.494 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/7.565, allocations: 59.25 kB / 3.494 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/7.565, allocations: 3.094 kB / 3.494 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/7.565, allocations: 7.812 kB / 3.494 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/7.566, allocations: 111.3 kB / 3.494 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/7.566, allocations: 3.688 kB / 3.494 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/7.566, allocations: 94.58 kB / 3.494 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/7.567, allocations: 30.08 kB / 3.494 GB, free: 210.1 MB / 0.8855 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.0002732/7.567, allocations: 188.8 kB / 3.495 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/7.567, allocations: 54.06 kB / 3.495 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/7.568, allocations: 0.5568 MB / 3.495 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/7.568, allocations: 3.219 kB / 3.495 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/7.568, allocations: 0 / 3.495 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/7.568, allocations: 3.891 kB / 3.495 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/7.57, allocations: 1.354 MB / 3.497 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/7.57, allocations: 7.562 kB / 3.497 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/7.571, allocations: 81.7 kB / 3.497 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/7.571, allocations: 5.312 kB / 3.497 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/7.571, allocations: 17.61 kB / 3.497 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/7.571, allocations: 7.688 kB / 3.497 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/7.571, allocations: 6.812 kB / 3.497 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/7.573, allocations: 1.124 MB / 3.498 GB, free: 209 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/7.573, allocations: 168.1 kB / 3.498 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/7.573, allocations: 18.98 kB / 3.498 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/7.574, allocations: 47.66 kB / 3.498 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/7.574, allocations: 56.55 kB / 3.498 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/7.574, allocations: 17.31 kB / 3.498 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004105/7.574, allocations: 337.5 kB / 3.498 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-07/7.574, allocations: 0 / 3.498 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00126/7.575, allocations: 286.3 kB / 3.499 GB, free: 208.7 MB / 0.8855 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.002687/7.578, allocations: 1.471 MB / 3.5 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001228/7.579, allocations: 0.6041 MB / 3.501 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/7.579, allocations: 0 / 3.501 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/7.58, allocations: 296.4 kB / 3.501 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/7.581, allocations: 280.8 kB / 3.501 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/7.584, allocations: 1.218 MB / 3.502 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/7.584, allocations: 0.8788 MB / 3.503 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006059/7.585, allocations: 125.1 kB / 3.503 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/7.585, allocations: 40.88 kB / 3.503 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.262e-06/7.585, allocations: 0 / 3.503 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.04476/7.63, allocations: 27.24 MB / 3.53 GB, free: 206.6 MB / 0.8855 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