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.001058/0.001058, allocations: 93.06 kB / 19.65 MB, free: 280 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.00104/0.00104, allocations: 169 kB / 23.02 MB, free: 1.555 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.9862/0.9862, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.098/2.098, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.683e-06/1.683e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.899e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1449/0.1449, allocations: 147.9 MB / 1.023 GB, free: 1.844 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1472, allocations: 1.74 MB / 1.024 GB, free: 104 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.1476, allocations: 31.75 kB / 1.024 GB, free: 72 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.148, allocations: 134.9 kB / 1.025 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.1491, allocations: 0.4929 MB / 1.025 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1503, allocations: 0.6701 MB / 1.026 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1514, allocations: 1.207 MB / 1.027 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.1518, allocations: 361.5 kB / 1.027 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.1525, allocations: 0.6001 MB / 1.028 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.1529, allocations: 350.9 kB / 1.028 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.1529, allocations: 48 kB / 1.028 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.1535, allocations: 331.1 kB / 1.028 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1536, allocations: 199.3 kB / 1.029 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1538, allocations: 215.5 kB / 1.029 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.1546, allocations: 0.6346 MB / 1.029 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1546, allocations: 4 kB / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1546, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.1546, 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.00109/0.1557, allocations: 0.9633 MB / 1.03 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1557, allocations: 12.03 kB / 1.03 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.1569, allocations: 379.5 kB / 1.031 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.1574, allocations: 430.2 kB / 1.031 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.1575, allocations: 29 kB / 1.031 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.1575, allocations: 48 kB / 1.031 GB, free: 8.918 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.1583, allocations: 429.5 kB / 1.032 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1583, allocations: 0 / 1.032 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.1583, allocations: 20 kB / 1.032 GB, free: 8.438 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1583, allocations: 12 kB / 1.032 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.1586, allocations: 173.8 kB / 1.032 GB, free: 8.254 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.001723/0.1604, allocations: 2.035 MB / 1.034 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.1607, allocations: 175 kB / 1.034 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.1609, allocations: 87.64 kB / 1.034 GB, free: 5.871 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.1612, allocations: 47.94 kB / 1.034 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.1614, allocations: 170.2 kB / 1.034 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.1614, allocations: 0 / 1.034 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37): time 0.0006528/0.1621, allocations: 344.7 kB / 1.035 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1621, allocations: 55.41 kB / 1.035 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1624, allocations: 414.5 kB / 1.035 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1625, allocations: 37.7 kB / 1.035 GB, free: 4.77 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1626, allocations: 315.2 kB / 1.035 GB, free: 4.457 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.1627, allocations: 138.8 kB / 1.036 GB, free: 4.32 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1628, allocations: 99.8 kB / 1.036 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.163, allocations: 0.5274 MB / 1.036 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1631, allocations: 116.4 kB / 1.036 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.1634, allocations: 396.7 kB / 1.037 GB, free: 3.066 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.1637, allocations: 331.8 kB / 1.037 GB, free: 2.676 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1637, allocations: 3.938 kB / 1.037 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004943/0.1642, allocations: 463.6 kB / 1.037 GB, free: 2.188 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.1642, allocations: 63.41 kB / 1.038 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1643, allocations: 4.375 kB / 1.038 GB, free: 2.109 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1643, allocations: 8 kB / 1.038 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.1645, allocations: 95.83 kB / 1.038 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.1645, allocations: 15.92 kB / 1.038 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.1647, allocations: 51.7 kB / 1.038 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.1648, allocations: 27.98 kB / 1.038 GB, free: 1.914 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.0001524/0.1649, allocations: 186.1 kB / 1.038 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.165, allocations: 59.72 kB / 1.038 GB, free: 1.664 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.1654, allocations: 305.4 kB / 1.038 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1654, allocations: 4 kB / 1.038 GB, free: 1.352 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1654, allocations: 0 / 1.038 GB, free: 1.352 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.1655, allocations: 3.938 kB / 1.038 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1667, allocations: 0.9219 MB / 1.039 GB, free: 332 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1667, allocations: 4.062 kB / 1.039 GB, free: 328 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.1669, allocations: 75.84 kB / 1.039 GB, free: 252 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1669, allocations: 4 kB / 1.039 GB, free: 248 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.1669, allocations: 15.98 kB / 1.039 GB, free: 232 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1669, allocations: 4 kB / 1.039 GB, free: 228 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1669, allocations: 4 kB / 1.039 GB, free: 224 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.1675, allocations: 0.6076 MB / 1.04 GB, free: 15.53 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1677, allocations: 83.56 kB / 1.04 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.1677, allocations: 12 kB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.1679, allocations: 27.97 kB / 1.04 GB, free: 15.41 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.168, allocations: 51.86 kB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.168, allocations: 12 kB / 1.04 GB, free: 15.35 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001794/0.1682, allocations: 271.1 kB / 1.04 GB, free: 15.08 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1682, allocations: 0 / 1.04 GB, free: 15.08 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004145/0.1686, allocations: 163.7 kB / 1.04 GB, free: 14.92 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.000251/0.1688, allocations: 139.1 kB / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004567/0.1693, allocations: 399.5 kB / 1.041 GB, free: 14.35 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1693, allocations: 0 / 1.041 GB, free: 14.35 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1695, allocations: 129 kB / 1.041 GB, free: 14.22 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.1701, allocations: 204.2 kB / 1.041 GB, free: 14.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1716, allocations: 0.9702 MB / 1.042 GB, free: 12.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.132e-05/0.1716, allocations: 133.8 kB / 1.042 GB, free: 12.81 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.1719, allocations: 95.36 kB / 1.042 GB, free: 12.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.172, allocations: 40.5 kB / 1.042 GB, free: 12.68 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/0.172, allocations: 0 / 1.042 GB, free: 12.68 MB / 1.01 GB Notification: Performance of Templates: time 0.01142/0.1834, allocations: 8.549 MB / 1.051 GB, free: 4.336 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.565803355071694]