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.0009318/0.0009318, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009117/0.0009117, allocations: 166 kB / 24.87 MB, free: 9.273 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 0.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.977/1.977, allocations: 377.9 MB / 0.6247 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.704e-06/1.704e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.685e-05, allocations: 7.375 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1383/0.1383, allocations: 145.2 MB / 0.9546 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1408, allocations: 1.764 MB / 0.9563 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.1411, allocations: 27.75 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.1415, allocations: 134.8 kB / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000887/0.1424, allocations: 0.5048 MB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1435, allocations: 0.6818 MB / 0.9576 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1445, allocations: 1.246 MB / 0.9589 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000617/0.1451, allocations: 382.1 kB / 0.9592 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006877/0.1458, allocations: 0.6234 MB / 0.9598 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.1462, allocations: 350.9 kB / 0.9602 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.1462, allocations: 44 kB / 0.9602 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.1467, allocations: 335.1 kB / 0.9605 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1468, allocations: 199.4 kB / 0.9607 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.147, allocations: 211.5 kB / 0.9609 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.1477, allocations: 0.6385 MB / 0.9615 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1477, allocations: 0 / 0.9615 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1477, allocations: 0 / 0.9615 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.1477, allocations: 0 / 0.9615 GB, free: 8.617 MB / 0.9167 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.0009935/0.1487, allocations: 0.983 MB / 0.9625 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1487, allocations: 11.97 kB / 0.9625 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.1498, allocations: 383.4 kB / 0.9629 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.1503, allocations: 413.3 kB / 0.9633 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1503, allocations: 33 kB / 0.9633 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.1504, allocations: 43.95 kB / 0.9633 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.1508, allocations: 401.4 kB / 0.9637 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1508, allocations: 0 / 0.9637 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.1508, allocations: 19.94 kB / 0.9638 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1509, allocations: 16 kB / 0.9638 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.151, allocations: 138.8 kB / 0.9639 GB, free: 6.078 MB / 0.9167 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.001509/0.1526, allocations: 2.042 MB / 0.9659 GB, free: 3.957 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.153, allocations: 155 kB / 0.966 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.1531, allocations: 67.64 kB / 0.9661 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.1533, allocations: 47.95 kB / 0.9662 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1535, allocations: 164.5 kB / 0.9663 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 2.474e-06/0.1535, allocations: 0 / 0.9663 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.000536/0.154, allocations: 310.3 kB / 0.9666 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.154, allocations: 59.41 kB / 0.9667 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1543, allocations: 414.3 kB / 0.9671 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1543, allocations: 37.7 kB / 0.9671 GB, free: 2.656 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1544, allocations: 323.1 kB / 0.9674 GB, free: 2.336 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.1545, allocations: 134.9 kB / 0.9675 GB, free: 2.203 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1546, allocations: 95.81 kB / 0.9676 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1548, allocations: 0.5351 MB / 0.9681 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1549, allocations: 104.3 kB / 0.9682 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1551, allocations: 384.7 kB / 0.9686 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1553, allocations: 311.7 kB / 0.9689 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1553, allocations: 0 / 0.9689 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004251/0.1558, allocations: 435.6 kB / 0.9693 GB, free: 144 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.1558, allocations: 63.41 kB / 0.9694 GB, free: 68 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1558, allocations: 8.312 kB / 0.9694 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1558, allocations: 8 kB / 0.9694 GB, free: 52 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1561, allocations: 91.89 kB / 0.9695 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1561, allocations: 11.92 kB / 0.9695 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1563, allocations: 59.66 kB / 0.9696 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.1563, allocations: 23.98 kB / 0.9696 GB, free: 15.87 MB / 0.9323 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.0001313/0.1565, allocations: 180.5 kB / 0.9697 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.1565, allocations: 59.72 kB / 0.9698 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.1569, allocations: 286.8 kB / 0.9701 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1569, allocations: 8 kB / 0.9701 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1569, allocations: 0 / 0.9701 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1569, allocations: 7.938 kB / 0.9701 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.1577, allocations: 0.8365 MB / 0.9709 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1577, allocations: 4 kB / 0.9709 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.1579, allocations: 63.91 kB / 0.971 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1579, allocations: 4 kB / 0.971 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.1579, allocations: 19.98 kB / 0.971 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.1579, allocations: 4 kB / 0.971 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1579, allocations: 7.938 kB / 0.971 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.1584, allocations: 0.5629 MB / 0.9716 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1585, allocations: 75.59 kB / 0.9716 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.1586, allocations: 16 kB / 0.9716 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.1588, allocations: 27.97 kB / 0.9717 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.159, allocations: 47.81 kB / 0.9717 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.159, allocations: 15.98 kB / 0.9717 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001998/0.1592, allocations: 259 kB / 0.972 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1e-07/0.1592, allocations: 0 / 0.972 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006047/0.1598, allocations: 159.7 kB / 0.9721 GB, free: 13.05 MB / 0.9323 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.0002858/0.1601, allocations: 155 kB / 0.9723 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.1606, allocations: 378.2 kB / 0.9726 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1606, allocations: 0.75 kB / 0.9726 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.1609, allocations: 122.2 kB / 0.9728 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.1617, allocations: 222.2 kB / 0.973 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1632, allocations: 0.971 MB / 0.9739 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.1632, allocations: 137.8 kB / 0.9741 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.1635, allocations: 72.16 kB / 0.9741 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.1638, allocations: 238 kB / 0.9743 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of SimCode: time 1.593e-06/0.1638, allocations: 0 / 0.9743 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of Templates: time 0.01205/0.1759, allocations: 9.79 MB / 0.9839 GB, free: 1.102 MB / 0.9323 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.570132270921022]