Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 161.4 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.[0-9,]+..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.[0-9,]+..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.042e-05, allocations: 6.25 kB / 0.76 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.148/0.148, allocations: 147.3 MB / 0.9039 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.1509, allocations: 1.8 MB / 0.9057 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.1513, allocations: 31.69 kB / 0.9057 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.1516, allocations: 134.8 kB / 0.9058 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009209/0.1525, allocations: 0.5086 MB / 0.9063 GB, free: 436 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.1538, allocations: 0.674 MB / 0.907 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1549, allocations: 1.25 MB / 0.9082 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.1553, allocations: 366.7 kB / 0.9085 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.156, allocations: 0.6312 MB / 0.9092 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.1563, allocations: 331 kB / 0.9095 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.1564, allocations: 47.94 kB / 0.9095 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.1569, allocations: 319.2 kB / 0.9098 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.157, allocations: 207.3 kB / 0.91 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1572, allocations: 211.5 kB / 0.9102 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.1578, allocations: 0.6346 MB / 0.9108 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1578, allocations: 4 kB / 0.9108 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1578, allocations: 4 kB / 0.9109 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.1578, allocations: 0 / 0.9109 GB, free: 11.75 MB / 0.8698 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.0008648/0.1587, allocations: 0.8466 MB / 0.9117 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.1587, allocations: 8.031 kB / 0.9117 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009943/0.1597, allocations: 379.8 kB / 0.912 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.1602, allocations: 379.9 kB / 0.9124 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1602, allocations: 33 kB / 0.9124 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.1603, allocations: 48 kB / 0.9125 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.1607, allocations: 378.8 kB / 0.9128 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1607, allocations: 7.922 kB / 0.9129 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.1607, allocations: 16 kB / 0.9129 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.1607, allocations: 8 kB / 0.9129 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.1609, allocations: 141.6 kB / 0.913 GB, free: 9.438 MB / 0.8698 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.001272/0.1621, allocations: 1.452 MB / 0.9144 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.1624, allocations: 192.6 kB / 0.9146 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.1625, allocations: 55.67 kB / 0.9147 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.1627, allocations: 63.88 kB / 0.9147 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1629, allocations: 157.7 kB / 0.9149 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.1629, allocations: 0 / 0.9149 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.0004198/0.1633, allocations: 234.8 kB / 0.9151 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.1633, allocations: 63.39 kB / 0.9152 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.1635, allocations: 355.1 kB / 0.9155 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.1636, allocations: 33.7 kB / 0.9155 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1637, allocations: 233.4 kB / 0.9158 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.1637, allocations: 138.8 kB / 0.9159 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.1638, allocations: 86.16 kB / 0.916 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.1639, allocations: 358.7 kB / 0.9163 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.164, allocations: 99.16 kB / 0.9164 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1642, allocations: 340 kB / 0.9167 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.1645, allocations: 292.8 kB / 0.917 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1645, allocations: 0 / 0.917 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003236/0.1648, allocations: 350.9 kB / 0.9173 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.1649, allocations: 63.39 kB / 0.9174 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1649, allocations: 64 / 0.9174 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1649, allocations: 12 kB / 0.9174 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.1651, allocations: 91.83 kB / 0.9175 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1651, allocations: 8 kB / 0.9175 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.1653, allocations: 68.02 kB / 0.9176 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.1653, allocations: 16 kB / 0.9176 GB, free: 4.414 MB / 0.8698 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.1655, allocations: 140.5 kB / 0.9177 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1655, allocations: 39.97 kB / 0.9178 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.1658, allocations: 234.7 kB / 0.918 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1658, allocations: 4 kB / 0.918 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1658, allocations: 3.938 kB / 0.918 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1658, allocations: 3.938 kB / 0.918 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/0.1665, allocations: 0.7275 MB / 0.9187 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1665, allocations: 4 kB / 0.9187 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1667, allocations: 60.34 kB / 0.9188 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1667, allocations: 8 kB / 0.9188 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1667, allocations: 15.98 kB / 0.9188 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1667, allocations: 4 kB / 0.9188 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1667, allocations: 7.938 kB / 0.9188 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1672, allocations: 0.5035 MB / 0.9193 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.1672, allocations: 59.59 kB / 0.9194 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.1673, allocations: 16 kB / 0.9194 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1674, allocations: 32 kB / 0.9194 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.1675, allocations: 55.8 kB / 0.9195 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1675, allocations: 8 kB / 0.9195 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000102/0.1676, allocations: 140.7 kB / 0.9196 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1676, allocations: 0 / 0.9196 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003307/0.168, allocations: 163.7 kB / 0.9198 GB, free: 2.02 MB / 0.8698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001991/0.1682, allocations: 132.2 kB / 0.9199 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.1685, allocations: 367.4 kB / 0.9202 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.1685, allocations: 4 kB / 0.9202 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1686, allocations: 108.6 kB / 0.9203 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.1692, allocations: 212.1 kB / 0.9205 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1704, allocations: 0.9252 MB / 0.9214 GB, free: 172 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.283e-05/0.1705, allocations: 137.8 kB / 0.9216 GB, free: 12 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.1707, allocations: 60.22 kB / 0.9216 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.171, allocations: 205.2 kB / 0.9218 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of SimCode: time 7.02e-07/0.171, allocations: 0 / 0.9218 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of Templates: time 0.01127/0.1823, allocations: 9.386 MB / 0.931 GB, free: 6.613 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.466280987020582]