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.001638/0.001638, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001868/0.001868, allocations: 165 kB / 23.82 MB, free: 0.75 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.078/1.078, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.953/1.953, allocations: 377.9 MB / 0.6236 GB, free: 8.512 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.462e-06/1.462e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.947e-05, allocations: 2.875 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1362/0.1362, allocations: 147.9 MB / 0.9561 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002769/0.139, allocations: 1.772 MB / 0.9578 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.1393, allocations: 27.75 kB / 0.9578 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.1397, allocations: 134.8 kB / 0.9579 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009831/0.1407, allocations: 0.5048 MB / 0.9584 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1419, allocations: 0.6702 MB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.1431, allocations: 1.246 MB / 0.9603 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005567/0.1437, allocations: 382 kB / 0.9607 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008327/0.1445, allocations: 0.6195 MB / 0.9613 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.1449, allocations: 350.9 kB / 0.9616 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.145, allocations: 52 kB / 0.9617 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.1455, allocations: 331.1 kB / 0.962 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.1457, allocations: 195.4 kB / 0.9622 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.1458, allocations: 215.5 kB / 0.9624 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007576/0.1466, allocations: 0.6424 MB / 0.963 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1466, allocations: 0 / 0.963 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1466, allocations: 0 / 0.963 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1466, allocations: 0 / 0.963 GB, free: 6.137 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.001173/0.1478, allocations: 0.9714 MB / 0.9639 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1478, allocations: 12.03 kB / 0.9639 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.149, allocations: 387.4 kB / 0.9643 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.1496, allocations: 438.3 kB / 0.9647 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1496, allocations: 33 kB / 0.9648 GB, free: 4.23 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.1497, allocations: 43.95 kB / 0.9648 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.1502, allocations: 425.5 kB / 0.9652 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1502, allocations: 4 kB / 0.9652 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.1502, allocations: 20 kB / 0.9652 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1502, allocations: 8 kB / 0.9652 GB, free: 3.699 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.1505, allocations: 177.8 kB / 0.9654 GB, free: 3.523 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.001672/0.1522, allocations: 2.039 MB / 0.9674 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.1526, allocations: 182.9 kB / 0.9676 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.1527, allocations: 75.64 kB / 0.9677 GB, free: 1.137 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.1529, allocations: 59.92 kB / 0.9677 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.1531, allocations: 168.6 kB / 0.9679 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.1531, allocations: 0 / 0.9679 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.0006188/0.1538, allocations: 346.3 kB / 0.9682 GB, free: 0.5547 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1538, allocations: 59.39 kB / 0.9683 GB, free: 496 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.1541, allocations: 418.6 kB / 0.9687 GB, free: 64 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.1541, allocations: 33.7 kB / 0.9687 GB, free: 24 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1543, allocations: 323.2 kB / 0.969 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.1544, allocations: 130.9 kB / 0.9691 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1545, allocations: 91.84 kB / 0.9692 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1547, allocations: 0.5274 MB / 0.9697 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1548, allocations: 120.4 kB / 0.9698 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1551, allocations: 396.7 kB / 0.9702 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.1554, allocations: 335.8 kB / 0.9705 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1554, allocations: 4 kB / 0.9705 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005174/0.1559, allocations: 463.6 kB / 0.971 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.1559, allocations: 63.77 kB / 0.971 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1559, allocations: 8 kB / 0.9711 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.156, allocations: 4 kB / 0.9711 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.1562, allocations: 95.83 kB / 0.9711 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1562, allocations: 7.938 kB / 0.9712 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1564, allocations: 63.64 kB / 0.9712 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.1564, allocations: 20 kB / 0.9712 GB, free: 13.17 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.0001266/0.1566, allocations: 184.5 kB / 0.9714 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.1566, allocations: 63.7 kB / 0.9715 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.1571, allocations: 303.8 kB / 0.9718 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1571, allocations: 4 kB / 0.9718 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1571, allocations: 0 / 0.9718 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1571, allocations: 7.922 kB / 0.9718 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.1581, allocations: 0.928 MB / 0.9727 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1581, allocations: 4 kB / 0.9727 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.1582, allocations: 71.83 kB / 0.9728 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1583, allocations: 4 kB / 0.9728 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.1583, allocations: 12 kB / 0.9728 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1583, allocations: 4 kB / 0.9728 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.1583, allocations: 11.92 kB / 0.9728 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.1589, allocations: 0.5983 MB / 0.9734 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.159, allocations: 83.59 kB / 0.9734 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.159, allocations: 12 kB / 0.9735 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1592, allocations: 27.97 kB / 0.9735 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.1593, allocations: 47.81 kB / 0.9735 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.1593, allocations: 16 kB / 0.9735 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000183/0.1595, allocations: 271.1 kB / 0.9738 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1595, allocations: 0 / 0.9738 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003989/0.1599, allocations: 167.7 kB / 0.974 GB, free: 10.18 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.0002254/0.1601, allocations: 143.1 kB / 0.9741 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.1606, allocations: 406.9 kB / 0.9745 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1606, allocations: 0 / 0.9745 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.1608, allocations: 123.5 kB / 0.9746 GB, free: 9.465 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.1614, allocations: 234.4 kB / 0.9748 GB, free: 9.242 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1629, allocations: 0.9706 MB / 0.9758 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.188e-05/0.163, allocations: 137.7 kB / 0.9759 GB, free: 8.023 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002643/0.1632, allocations: 96.11 kB / 0.976 GB, free: 7.93 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1634, allocations: 40.5 kB / 0.976 GB, free: 7.891 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/0.1634, allocations: 0 / 0.976 GB, free: 7.891 MB / 0.9323 GB Notification: Performance of Templates: time 0.01103/0.1744, allocations: 8.819 MB / 0.9847 GB, free: 15.32 MB / 0.948 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: 6.0308432606980205]