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.001377/0.001377, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.001705/0.001705, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.965/0.965, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.142/2.142, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 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.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.639e-05, allocations: 3.25 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1414/0.1414, allocations: 147.9 MB / 1.023 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.1441, allocations: 1.742 MB / 1.024 GB, free: 104 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.1445, allocations: 27.75 kB / 1.024 GB, free: 76 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003776/0.1449, allocations: 138.9 kB / 1.025 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009187/0.1458, allocations: 0.5007 MB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.147, allocations: 0.6623 MB / 1.026 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.1481, allocations: 1.211 MB / 1.027 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.1485, allocations: 357.5 kB / 1.027 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006878/0.1492, allocations: 0.6118 MB / 1.028 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.1496, allocations: 347 kB / 1.028 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.1496, allocations: 47.94 kB / 1.028 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006564/0.1503, allocations: 331.1 kB / 1.028 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1505, allocations: 195.4 kB / 1.029 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1507, allocations: 215.5 kB / 1.029 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009898/0.1517, allocations: 0.6307 MB / 1.029 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1517, allocations: 12 kB / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1517, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.1517, allocations: 0 / 1.029 GB, free: 10.84 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.001014/0.1527, allocations: 0.9517 MB / 1.03 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1527, allocations: 15.97 kB / 1.03 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.1537, allocations: 375.5 kB / 1.031 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.1542, allocations: 417.2 kB / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1542, allocations: 29 kB / 1.031 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.1543, allocations: 51.98 kB / 1.031 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.1548, allocations: 425.5 kB / 1.032 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1548, allocations: 0 / 1.032 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1548, allocations: 16 kB / 1.032 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.1548, allocations: 12 kB / 1.032 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.1551, allocations: 177.8 kB / 1.032 GB, free: 8.27 MB / 0.9948 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.001496/0.1566, allocations: 2.035 MB / 1.034 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.1569, allocations: 175 kB / 1.034 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.157, allocations: 75.66 kB / 1.034 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.1572, allocations: 55.94 kB / 1.034 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.1575, allocations: 178.1 kB / 1.034 GB, free: 5.656 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=37): time 2.324e-06/0.1575, allocations: 0 / 1.034 GB, free: 5.656 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37): time 0.0006156/0.1581, allocations: 332.8 kB / 1.035 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1581, allocations: 55.41 kB / 1.035 GB, free: 5.258 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1584, allocations: 414.5 kB / 1.035 GB, free: 4.84 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1584, allocations: 33.7 kB / 1.035 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.1586, allocations: 327.2 kB / 1.035 GB, free: 4.477 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.1586, allocations: 130.9 kB / 1.036 GB, free: 4.348 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1588, allocations: 95.8 kB / 1.036 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.159, allocations: 0.5352 MB / 1.036 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1591, allocations: 120.4 kB / 1.036 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.1594, allocations: 392.7 kB / 1.037 GB, free: 3.09 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.1597, allocations: 331.8 kB / 1.037 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.1597, allocations: 0 / 1.037 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004613/0.1601, allocations: 467.8 kB / 1.037 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.1602, allocations: 63.39 kB / 1.037 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1602, allocations: 0 / 1.037 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1602, allocations: 8 kB / 1.037 GB, free: 2.129 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1604, allocations: 95.83 kB / 1.038 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1604, allocations: 7.938 kB / 1.038 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1606, allocations: 59.7 kB / 1.038 GB, free: 1.969 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.1607, allocations: 24.22 kB / 1.038 GB, free: 1.945 MB / 0.9948 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.0001337/0.1608, allocations: 186.1 kB / 1.038 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.1608, allocations: 63.7 kB / 1.038 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.1612, allocations: 297.4 kB / 1.038 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1612, allocations: 4 kB / 1.038 GB, free: 1.383 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1612, allocations: 0 / 1.038 GB, free: 1.383 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1612, allocations: 7.875 kB / 1.038 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000908/0.1621, allocations: 0.9296 MB / 1.039 GB, free: 352 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1621, allocations: 0 / 1.039 GB, free: 352 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.1623, allocations: 67.89 kB / 1.039 GB, free: 284 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1623, allocations: 4.062 kB / 1.039 GB, free: 280 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1624, allocations: 20.42 kB / 1.039 GB, free: 260 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1624, allocations: 8 kB / 1.039 GB, free: 252 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1624, allocations: 7.938 kB / 1.039 GB, free: 244 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/0.163, allocations: 0.6035 MB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1631, allocations: 87.56 kB / 1.04 GB, free: 15.47 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.1632, allocations: 11.98 kB / 1.04 GB, free: 15.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1633, allocations: 23.98 kB / 1.04 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1634, allocations: 51.8 kB / 1.04 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1634, allocations: 20.03 kB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000184/0.1636, allocations: 267.1 kB / 1.04 GB, free: 15.11 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1636, allocations: 0 / 1.04 GB, free: 15.11 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004763/0.1641, allocations: 163.7 kB / 1.04 GB, free: 14.95 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.0003267/0.1644, allocations: 147 kB / 1.041 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.1649, allocations: 394.9 kB / 1.041 GB, free: 14.37 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1649, allocations: 0 / 1.041 GB, free: 14.37 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.1651, allocations: 121 kB / 1.041 GB, free: 14.25 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.1658, allocations: 202.1 kB / 1.041 GB, free: 14.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1677, allocations: 0.9783 MB / 1.042 GB, free: 12.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.1678, allocations: 133.8 kB / 1.042 GB, free: 12.83 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.1681, allocations: 95.34 kB / 1.042 GB, free: 12.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1682, allocations: 40.48 kB / 1.042 GB, free: 12.69 MB / 1.01 GB Notification: Performance of SimCode: time 1.533e-06/0.1682, allocations: 0 / 1.042 GB, free: 12.69 MB / 1.01 GB Notification: Performance of Templates: time 0.0129/0.1811, allocations: 9.184 MB / 1.051 GB, free: 3.723 MB / 1.01 GB " [Timeout remaining time 300] 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.310624036937952]