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.001008/0.001008, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009634/0.0009634, allocations: 161 kB / 24.16 MB, free: 332 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.032/1.032, allocations: 177.1 MB / 204.6 MB, free: 5.5 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 2/2, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.452e-06/1.452e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.261e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1252/0.1252, allocations: 147.4 MB / 0.904 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002776/0.128, allocations: 1.799 MB / 0.9057 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.1283, allocations: 31.75 kB / 0.9058 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1286, allocations: 134.8 kB / 0.9059 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008393/0.1295, allocations: 0.4969 MB / 0.9064 GB, free: 384 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1308, allocations: 0.674 MB / 0.907 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1321, allocations: 1.258 MB / 0.9083 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/0.1326, allocations: 358.7 kB / 0.9086 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.1334, allocations: 0.6156 MB / 0.9092 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.1338, allocations: 335 kB / 0.9095 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.1339, allocations: 44 kB / 0.9096 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.1345, allocations: 335.2 kB / 0.9099 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1346, allocations: 195.4 kB / 0.9101 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.1348, allocations: 211.5 kB / 0.9103 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007444/0.1356, allocations: 0.6424 MB / 0.9109 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1356, allocations: 4 kB / 0.9109 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1356, allocations: 0 / 0.9109 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1356, allocations: 0 / 0.9109 GB, free: 11.71 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.001051/0.1366, allocations: 0.8427 MB / 0.9117 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1367, allocations: 8.031 kB / 0.9118 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.1383, allocations: 383.8 kB / 0.9121 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.1388, allocations: 379.8 kB / 0.9125 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.1388, allocations: 33 kB / 0.9125 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.1389, allocations: 47.94 kB / 0.9126 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.1394, allocations: 390.8 kB / 0.9129 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1394, allocations: 0 / 0.9129 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.1395, allocations: 16 kB / 0.9129 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.1395, allocations: 12 kB / 0.913 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.1397, allocations: 133.6 kB / 0.9131 GB, free: 9.395 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.001742/0.1415, allocations: 1.452 MB / 0.9145 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.1418, allocations: 190.8 kB / 0.9147 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1419, allocations: 67.66 kB / 0.9147 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.1421, allocations: 47.95 kB / 0.9148 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.1424, allocations: 157.8 kB / 0.9149 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.1424, allocations: 0 / 0.9149 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.0005382/0.1429, allocations: 242.7 kB / 0.9152 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.143, allocations: 55.41 kB / 0.9152 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.1432, allocations: 359.1 kB / 0.9156 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1432, allocations: 37.7 kB / 0.9156 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1434, allocations: 225.4 kB / 0.9158 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.1435, allocations: 138.8 kB / 0.916 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1436, allocations: 86.16 kB / 0.916 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1437, allocations: 362.7 kB / 0.9164 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1439, allocations: 103.2 kB / 0.9165 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.1441, allocations: 328 kB / 0.9168 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1444, allocations: 289 kB / 0.9171 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1444, allocations: 64 / 0.9171 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004095/0.1448, allocations: 362.7 kB / 0.9174 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.1449, allocations: 67.39 kB / 0.9175 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.145, allocations: 4 kB / 0.9175 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.145, allocations: 4 kB / 0.9175 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.1453, allocations: 91.89 kB / 0.9176 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1453, allocations: 8.312 kB / 0.9176 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.1455, allocations: 67.64 kB / 0.9176 GB, free: 4.387 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.1456, allocations: 19.98 kB / 0.9177 GB, free: 4.367 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.0001293/0.1457, allocations: 140.6 kB / 0.9178 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.1458, allocations: 39.95 kB / 0.9178 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.1461, allocations: 234.7 kB / 0.9181 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1461, allocations: 3.938 kB / 0.9181 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1461, allocations: 4 kB / 0.9181 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1461, allocations: 7.922 kB / 0.9181 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.147, allocations: 0.7201 MB / 0.9188 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.147, allocations: 4.438 kB / 0.9188 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.1472, allocations: 75.89 kB / 0.9189 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1472, allocations: 4 kB / 0.9189 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.1473, allocations: 12 kB / 0.9189 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.577e-06/0.1473, allocations: 15.91 kB / 0.9189 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1473, allocations: 4 kB / 0.9189 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.1478, allocations: 0.4952 MB / 0.9194 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1479, allocations: 63.59 kB / 0.9194 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.148, allocations: 11.98 kB / 0.9194 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1482, allocations: 32 kB / 0.9195 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.1483, allocations: 51.81 kB / 0.9195 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.1483, allocations: 12 kB / 0.9195 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001263/0.1484, allocations: 140.7 kB / 0.9197 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1484, allocations: 0 / 0.9197 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004528/0.1489, allocations: 163.7 kB / 0.9198 GB, free: 1.969 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.0002026/0.1491, allocations: 132.2 kB / 0.92 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1495, allocations: 367.4 kB / 0.9203 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.1495, allocations: 8 kB / 0.9203 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1496, allocations: 103.7 kB / 0.9204 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/0.1504, allocations: 209.9 kB / 0.9206 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.152, allocations: 0.933 MB / 0.9215 GB, free: 116 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.1521, allocations: 133.8 kB / 0.9217 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.1524, allocations: 60.12 kB / 0.9217 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.1528, allocations: 197.2 kB / 0.9219 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of SimCode: time 7.21e-07/0.1528, allocations: 0 / 0.9219 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of Templates: time 0.01373/0.1666, allocations: 9.386 MB / 0.9311 GB, free: 6.566 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 -s gbode -gbm=radauIIA3 -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.627935797907412]