Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001267/0.001268, allocations: 179.3 kB / 498.1 MB, free: 5.688 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.608/1.608, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0009753/0.0009751, allocations: 100.3 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004178, allocations: 10.91 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3702, allocations: 142.3 MB / 1.223 GB, free: 89.55 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.742/5.112, allocations: 1.868 GB / 3.091 GB, free: 112 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/5.113, allocations: 87.95 kB / 3.091 GB, free: 111.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.604/6.717, allocations: 430.4 MB / 3.512 GB, free: 148.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.854e-06/6.717, allocations: 0 / 3.512 GB, free: 148.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.778e-05/6.717, allocations: 19.98 kB / 3.512 GB, free: 148.6 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.002661/6.72, allocations: 1.082 MB / 3.513 GB, free: 147.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001044/6.72, allocations: 8.031 kB / 3.513 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/6.722, allocations: 286.9 kB / 3.513 GB, free: 147.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/6.723, allocations: 461.7 kB / 3.513 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/6.723, allocations: 29 kB / 3.513 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/6.723, allocations: 48 kB / 3.514 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/6.724, allocations: 0.5468 MB / 3.514 GB, free: 146 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/6.724, allocations: 0 / 3.514 GB, free: 146 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/6.724, allocations: 20 kB / 3.514 GB, free: 146 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/6.724, allocations: 15.89 kB / 3.514 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/6.725, allocations: 471.6 kB / 3.515 GB, free: 145.5 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.002556/6.727, allocations: 2.139 MB / 3.517 GB, free: 143.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/6.728, allocations: 418.4 kB / 3.517 GB, free: 142.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/6.729, allocations: 400.4 kB / 3.517 GB, free: 142.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005531/6.73, allocations: 300.1 kB / 3.518 GB, free: 142 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 3.377e-06/6.73, allocations: 0 / 3.518 GB, free: 142 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.001697/6.731, allocations: 0.7146 MB / 3.518 GB, free: 141.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/6.731, allocations: 59.41 kB / 3.518 GB, free: 141.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/6.732, allocations: 433.2 kB / 3.519 GB, free: 140.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/6.732, allocations: 33.7 kB / 3.519 GB, free: 140.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/6.732, allocations: 268.4 kB / 3.519 GB, free: 140.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/6.732, allocations: 130.2 kB / 3.519 GB, free: 140.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/6.732, allocations: 8 kB / 3.519 GB, free: 140.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001149/6.732, allocations: 362.8 kB / 3.52 GB, free: 140 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/6.733, allocations: 208.8 kB / 3.52 GB, free: 139.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/6.733, allocations: 343.3 kB / 3.52 GB, free: 139.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/6.734, allocations: 287.2 kB / 3.52 GB, free: 139.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/6.734, allocations: 0 / 3.52 GB, free: 139.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001148/6.735, allocations: 0.6615 MB / 3.521 GB, free: 138.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/6.735, allocations: 64.02 kB / 3.521 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/6.735, allocations: 4 kB / 3.521 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/6.735, allocations: 4 kB / 3.521 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/6.736, allocations: 103.9 kB / 3.521 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/6.736, allocations: 12.11 kB / 3.521 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/6.736, allocations: 99.38 kB / 3.521 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/6.736, allocations: 20 kB / 3.521 GB, free: 138.1 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.0002406/6.737, allocations: 194.1 kB / 3.522 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/6.737, allocations: 55.34 kB / 3.522 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/6.738, allocations: 0.5449 MB / 3.522 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/6.738, allocations: 8 kB / 3.522 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/6.738, allocations: 0 / 3.522 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/6.738, allocations: 7.938 kB / 3.522 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/6.74, allocations: 1.35 MB / 3.523 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/6.74, allocations: 4 kB / 3.523 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/6.74, allocations: 87.88 kB / 3.524 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/6.74, allocations: 4 kB / 3.524 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/6.74, allocations: 15.94 kB / 3.524 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/6.74, allocations: 8.281 kB / 3.524 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/6.74, allocations: 7.938 kB / 3.524 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/6.742, allocations: 1.136 MB / 3.525 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/6.742, allocations: 168.3 kB / 3.525 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/6.742, allocations: 12 kB / 3.525 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/6.743, allocations: 56 kB / 3.525 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/6.743, allocations: 51.83 kB / 3.525 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/6.743, allocations: 16 kB / 3.525 GB, free: 134.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003831/6.743, allocations: 342.8 kB / 3.525 GB, free: 133.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/6.743, allocations: 0 / 3.525 GB, free: 133.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001267/6.745, allocations: 291.8 kB / 3.526 GB, free: 133.5 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.002301/6.747, allocations: 1.472 MB / 3.527 GB, free: 132 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001209/6.748, allocations: 0.596 MB / 3.528 GB, free: 131.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/6.748, allocations: 0 / 3.528 GB, free: 131.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/6.749, allocations: 304.7 kB / 3.528 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/6.75, allocations: 277.6 kB / 3.528 GB, free: 130.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/6.752, allocations: 1.204 MB / 3.529 GB, free: 129.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/6.752, allocations: 0.8785 MB / 3.53 GB, free: 128.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005517/6.753, allocations: 120.7 kB / 3.53 GB, free: 128.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/6.753, allocations: 39.44 kB / 3.53 GB, free: 128.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/6.753, allocations: 0 / 3.53 GB, free: 128.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03689/6.79, allocations: 27.27 MB / 3.557 GB, free: 101.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches