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.0009909/0.0009909, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001378/0.001378, allocations: 161 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 0.9074/0.9074, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.91/1.91, allocations: 377.9 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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.883e-06/1.883e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.523e-05, allocations: 10.25 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1294/0.1294, allocations: 147.9 MB / 0.9561 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.132, allocations: 1.773 MB / 0.9578 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.1323, allocations: 27.75 kB / 0.9578 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.1327, allocations: 138.8 kB / 0.9579 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009622/0.1337, allocations: 0.5009 MB / 0.9584 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.135, allocations: 0.6818 MB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1362, allocations: 1.238 MB / 0.9603 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005552/0.1367, allocations: 386 kB / 0.9607 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008299/0.1376, allocations: 0.6196 MB / 0.9613 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.138, allocations: 354.9 kB / 0.9616 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.087e-05/0.1381, allocations: 48 kB / 0.9617 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005861/0.1386, allocations: 327.1 kB / 0.962 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.1388, allocations: 203.4 kB / 0.9622 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.139, allocations: 207.5 kB / 0.9624 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007948/0.1398, allocations: 0.6424 MB / 0.963 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1398, allocations: 4 kB / 0.963 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1398, allocations: 0 / 0.963 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.1398, 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.001346/0.1411, allocations: 0.9675 MB / 0.9639 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1412, allocations: 8.031 kB / 0.964 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.1423, allocations: 395.4 kB / 0.9643 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.1429, allocations: 417.3 kB / 0.9647 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.1429, allocations: 33 kB / 0.9648 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.143, allocations: 43.95 kB / 0.9648 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.1435, allocations: 437.4 kB / 0.9652 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1436, allocations: 4 kB / 0.9652 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.1436, allocations: 16 kB / 0.9652 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1436, allocations: 8 kB / 0.9652 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.1439, allocations: 177.8 kB / 0.9654 GB, free: 3.539 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.00166/0.1455, allocations: 2.031 MB / 0.9674 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.1459, allocations: 175 kB / 0.9676 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.146, allocations: 79.59 kB / 0.9676 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.1463, allocations: 55.92 kB / 0.9677 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.1466, allocations: 164.7 kB / 0.9679 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 3.456e-06/0.1466, allocations: 4 kB / 0.9679 GB, free: 0.9258 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.0007401/0.1473, allocations: 350.2 kB / 0.9682 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1474, allocations: 59.34 kB / 0.9682 GB, free: 0.5078 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.1477, allocations: 422.5 kB / 0.9686 GB, free: 84 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.1477, allocations: 33.7 kB / 0.9687 GB, free: 44 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.1479, allocations: 327.2 kB / 0.969 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/0.148, allocations: 122.9 kB / 0.9691 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1481, allocations: 95.83 kB / 0.9692 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1483, allocations: 0.5274 MB / 0.9697 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1485, allocations: 120.4 kB / 0.9698 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.1488, allocations: 396.8 kB / 0.9702 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.1492, allocations: 331.8 kB / 0.9705 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1492, allocations: 4 kB / 0.9705 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005491/0.1498, allocations: 463.9 kB / 0.971 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/0.1498, allocations: 67.42 kB / 0.971 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1498, allocations: 4 kB / 0.971 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.1499, allocations: 4 kB / 0.971 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1501, allocations: 91.89 kB / 0.9711 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.1501, allocations: 11.88 kB / 0.9711 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.1503, allocations: 63.64 kB / 0.9712 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.1504, allocations: 20 kB / 0.9712 GB, free: 13.2 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.0001414/0.1505, allocations: 188.5 kB / 0.9714 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.1506, allocations: 55.72 kB / 0.9715 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.151, allocations: 307.7 kB / 0.9717 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.151, allocations: 4 kB / 0.9718 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.151, allocations: 0 / 0.9718 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.151, allocations: 7.922 kB / 0.9718 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.1521, allocations: 0.9358 MB / 0.9727 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1521, allocations: 0 / 0.9727 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.1523, allocations: 63.91 kB / 0.9727 GB, free: 11.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.1523, allocations: 4 kB / 0.9727 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.1523, allocations: 15.98 kB / 0.9728 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1524, allocations: 7.938 kB / 0.9728 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1524, allocations: 4.438 kB / 0.9728 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.153, allocations: 0.6018 MB / 0.9734 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1531, allocations: 83.61 kB / 0.9734 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.1531, allocations: 11.94 kB / 0.9734 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1533, allocations: 27.97 kB / 0.9735 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.1534, allocations: 51.81 kB / 0.9735 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1534, allocations: 15.98 kB / 0.9735 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001784/0.1536, allocations: 271.1 kB / 0.9738 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.1536, allocations: 4.031 kB / 0.9738 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004065/0.154, allocations: 159.7 kB / 0.974 GB, free: 10.2 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.0002623/0.1543, allocations: 139.1 kB / 0.9741 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004368/0.1547, allocations: 414.9 kB / 0.9745 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1547, allocations: 4.062 kB / 0.9745 GB, free: 9.605 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1548, allocations: 111.5 kB / 0.9746 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.1555, allocations: 226 kB / 0.9748 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.157, allocations: 0.9822 MB / 0.9758 GB, free: 8.199 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.1571, allocations: 133.8 kB / 0.9759 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003781/0.1575, allocations: 96.11 kB / 0.976 GB, free: 7.953 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.1576, allocations: 40.48 kB / 0.976 GB, free: 7.914 MB / 0.9323 GB Notification: Performance of SimCode: time 8.52e-07/0.1576, allocations: 0 / 0.976 GB, free: 7.914 MB / 0.9323 GB Notification: Performance of Templates: time 0.01172/0.1693, allocations: 9.475 MB / 0.9853 GB, free: 14.7 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: 5.490113704930991]