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/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.000869/0.000869, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.000919/0.000919, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 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.015/1.015, allocations: 177.2 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.476/2.476, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.206e-05, allocations: 13.2 kB / 0.8898 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1398/0.1398, allocations: 145.2 MB / 1.032 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.1423, allocations: 1.73 MB / 1.033 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.1426, allocations: 35.69 kB / 1.033 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.143, allocations: 134.8 kB / 1.033 GB, free: 6.023 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009277/0.144, allocations: 0.4931 MB / 1.034 GB, free: 5.527 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1451, allocations: 0.6662 MB / 1.035 GB, free: 4.859 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.1463, allocations: 1.215 MB / 1.036 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.1468, allocations: 345.6 kB / 1.036 GB, free: 3.297 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.1474, allocations: 0.6078 MB / 1.037 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1477, allocations: 355 kB / 1.037 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.1478, allocations: 48 kB / 1.037 GB, free: 2.293 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.1482, allocations: 327.1 kB / 1.037 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.1484, allocations: 199.3 kB / 1.038 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1485, allocations: 215.5 kB / 1.038 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.1491, allocations: 0.6346 MB / 1.038 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1491, allocations: 0 / 1.038 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1491, allocations: 0 / 1.038 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1491, allocations: 0 / 1.038 GB, free: 0.9297 MB / 0.9948 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.001004/0.1501, allocations: 0.9788 MB / 1.039 GB, free: 15.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1502, allocations: 8.625 kB / 1.039 GB, free: 15.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009855/0.1511, allocations: 375.5 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.1516, allocations: 405.2 kB / 1.04 GB, free: 15.1 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1516, allocations: 36.98 kB / 1.04 GB, free: 15.06 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.1517, allocations: 44 kB / 1.04 GB, free: 15.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.1521, allocations: 397.4 kB / 1.041 GB, free: 14.59 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1521, allocations: 4 kB / 1.041 GB, free: 14.59 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1521, allocations: 20 kB / 1.041 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.1521, allocations: 8 kB / 1.041 GB, free: 14.56 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1523, allocations: 142.8 kB / 1.041 GB, free: 14.42 MB / 1.01 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.00161/0.1539, allocations: 2.031 MB / 1.043 GB, free: 12.31 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.1542, allocations: 167 kB / 1.043 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.277e-05/0.1542, allocations: 64.55 kB / 1.043 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.1544, allocations: 55.88 kB / 1.043 GB, free: 12.02 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.1546, allocations: 161.2 kB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.1546, allocations: 7.938 kB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=37): time 0.0004932/0.1551, allocations: 316.6 kB / 1.043 GB, free: 11.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1552, allocations: 63.16 kB / 1.043 GB, free: 11.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.1554, allocations: 402.4 kB / 1.044 GB, free: 11.03 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.1554, allocations: 33.7 kB / 1.044 GB, free: 10.99 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1556, allocations: 327.1 kB / 1.044 GB, free: 10.67 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.1557, allocations: 130.9 kB / 1.044 GB, free: 10.54 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.1558, allocations: 99.75 kB / 1.044 GB, free: 10.43 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1559, allocations: 0.5351 MB / 1.045 GB, free: 9.887 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.704e-05/0.156, allocations: 100.4 kB / 1.045 GB, free: 9.777 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.1562, allocations: 384.7 kB / 1.045 GB, free: 9.301 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.1564, allocations: 303.7 kB / 1.046 GB, free: 8.938 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1564, allocations: 64 / 1.046 GB, free: 8.938 MB / 1.01 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003946/0.1568, allocations: 440.1 kB / 1.046 GB, free: 8.477 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.1569, allocations: 73.61 kB / 1.046 GB, free: 8.395 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1569, allocations: 4 kB / 1.046 GB, free: 8.391 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1569, allocations: 4 kB / 1.046 GB, free: 8.387 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1571, allocations: 91.83 kB / 1.046 GB, free: 8.297 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1571, allocations: 7.938 kB / 1.046 GB, free: 8.289 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1573, allocations: 59.7 kB / 1.046 GB, free: 8.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1573, allocations: 16 kB / 1.046 GB, free: 8.215 MB / 1.01 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.0001357/0.1575, allocations: 196.4 kB / 1.047 GB, free: 8.012 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.1575, allocations: 59.7 kB / 1.047 GB, free: 7.953 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.1579, allocations: 275 kB / 1.047 GB, free: 7.676 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1579, allocations: 4 kB / 1.047 GB, free: 7.672 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1579, allocations: 0 / 1.047 GB, free: 7.672 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1579, allocations: 7.922 kB / 1.047 GB, free: 7.664 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.1587, allocations: 0.831 MB / 1.048 GB, free: 6.742 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1587, allocations: 0 / 1.048 GB, free: 6.742 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1588, allocations: 75.83 kB / 1.048 GB, free: 6.668 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1588, allocations: 4 kB / 1.048 GB, free: 6.664 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1589, allocations: 12 kB / 1.048 GB, free: 6.652 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1589, allocations: 4 kB / 1.048 GB, free: 6.648 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1589, allocations: 4.438 kB / 1.048 GB, free: 6.645 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.1593, allocations: 0.5821 MB / 1.048 GB, free: 5.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.1594, allocations: 83.55 kB / 1.048 GB, free: 5.898 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.1595, allocations: 15.92 kB / 1.048 GB, free: 5.883 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1596, allocations: 27.97 kB / 1.048 GB, free: 5.855 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.1597, allocations: 47.88 kB / 1.049 GB, free: 5.809 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1597, allocations: 12 kB / 1.049 GB, free: 5.797 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003194/0.1601, allocations: 255 kB / 1.049 GB, free: 5.551 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1601, allocations: 4.031 kB / 1.049 GB, free: 5.547 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003286/0.1604, allocations: 163.7 kB / 1.049 GB, free: 5.387 MB / 1.01 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.000205/0.1606, allocations: 151 kB / 1.049 GB, free: 5.227 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1609, allocations: 371.1 kB / 1.049 GB, free: 4.824 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1609, allocations: 0 / 1.049 GB, free: 4.824 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.161, allocations: 103.4 kB / 1.05 GB, free: 4.719 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.1616, allocations: 206.2 kB / 1.05 GB, free: 4.52 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1628, allocations: 0.9815 MB / 1.051 GB, free: 3.449 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.265e-05/0.1629, allocations: 133.8 kB / 1.051 GB, free: 3.301 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.1631, allocations: 71.39 kB / 1.051 GB, free: 3.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.1634, allocations: 230.1 kB / 1.051 GB, free: 3.004 MB / 1.01 GB Notification: Performance of SimCode: time 8.21e-07/0.1634, allocations: 0 / 1.051 GB, free: 3.004 MB / 1.01 GB Notification: Performance of Templates: time 0.4409/0.6043, allocations: 9.317 MB / 1.06 GB, free: 70.53 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.381510504987091]