Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.00132/0.00132, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001379/0.001379, allocations: 181 kB / 23.35 MB, free: 1.137 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.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.614/2.614, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.045e-05, allocations: 4.422 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1546/0.1546, allocations: 145.7 MB / 0.9809 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1569, allocations: 1.548 MB / 0.9825 GB, free: 10.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.1572, allocations: 15.88 kB / 0.9825 GB, free: 10.33 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1575, allocations: 75.34 kB / 0.9825 GB, free: 10.25 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008761/0.1583, allocations: 334.1 kB / 0.9829 GB, free: 9.926 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.1592, allocations: 478.3 kB / 0.9833 GB, free: 9.457 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000551/0.1597, allocations: 0.6705 MB / 0.984 GB, free: 8.785 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.16, allocations: 189.8 kB / 0.9841 GB, free: 8.602 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.1605, allocations: 363 kB / 0.9845 GB, free: 8.246 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1607, allocations: 195.4 kB / 0.9847 GB, free: 8.055 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.1607, allocations: 27.94 kB / 0.9847 GB, free: 8.027 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005867/0.1613, allocations: 407.1 kB / 0.9851 GB, free: 7.629 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1614, allocations: 119.6 kB / 0.9852 GB, free: 7.512 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.103e-05/0.1615, allocations: 111.8 kB / 0.9853 GB, free: 7.402 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.1621, allocations: 0.4985 MB / 0.9858 GB, free: 6.902 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1621, allocations: 8 kB / 0.9858 GB, free: 6.895 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1621, allocations: 0 / 0.9858 GB, free: 6.895 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1621, allocations: 0 / 0.9858 GB, free: 6.895 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008569/0.163, allocations: 0.5341 MB / 0.9863 GB, free: 6.336 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.163, allocations: 12.03 kB / 0.9863 GB, free: 6.324 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.1634, allocations: 120.5 kB / 0.9865 GB, free: 6.207 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1637, allocations: 234.2 kB / 0.9867 GB, free: 5.953 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1637, allocations: 16.88 kB / 0.9867 GB, free: 5.938 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.1637, allocations: 24.36 kB / 0.9867 GB, free: 5.914 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.1641, allocations: 268.7 kB / 0.987 GB, free: 5.625 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1641, allocations: 3.938 kB / 0.987 GB, free: 5.621 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1641, allocations: 4 kB / 0.987 GB, free: 5.617 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1641, allocations: 8 kB / 0.987 GB, free: 5.609 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1642, allocations: 70.3 kB / 0.9871 GB, free: 5.535 MB / 0.948 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.0008627/0.1651, allocations: 0.7485 MB / 0.9878 GB, free: 4.746 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.1654, allocations: 174.1 kB / 0.988 GB, free: 4.566 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.1655, allocations: 39.67 kB / 0.988 GB, free: 4.523 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.1657, allocations: 59.94 kB / 0.9881 GB, free: 4.465 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1657, allocations: 38.52 kB / 0.9881 GB, free: 4.418 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.1657, allocations: 0 / 0.9881 GB, free: 4.418 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0003223/0.166, allocations: 145.4 kB / 0.9882 GB, free: 4.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.1661, allocations: 59.34 kB / 0.9883 GB, free: 4.199 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1662, allocations: 209 kB / 0.9885 GB, free: 3.984 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1662, allocations: 29.7 kB / 0.9885 GB, free: 3.949 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.1663, allocations: 160.7 kB / 0.9887 GB, free: 3.789 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1663, allocations: 67.42 kB / 0.9887 GB, free: 3.723 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.1664, allocations: 45.69 kB / 0.9888 GB, free: 3.672 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.1664, allocations: 338.8 kB / 0.9891 GB, free: 3.332 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.1665, allocations: 18.83 kB / 0.9891 GB, free: 3.312 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1666, allocations: 150.9 kB / 0.9893 GB, free: 3.129 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1667, allocations: 126.3 kB / 0.9894 GB, free: 2.988 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1667, allocations: 0 / 0.9894 GB, free: 2.988 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001604/0.1669, allocations: 128.3 kB / 0.9895 GB, free: 2.855 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1669, allocations: 10.12 kB / 0.9895 GB, free: 2.848 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1669, allocations: 4.156 kB / 0.9895 GB, free: 2.844 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1669, allocations: 4 kB / 0.9895 GB, free: 2.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.167, allocations: 51.91 kB / 0.9896 GB, free: 2.789 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-06/0.167, allocations: 0 / 0.9896 GB, free: 2.789 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.1671, allocations: 31.62 kB / 0.9896 GB, free: 2.758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.1672, allocations: 8 kB / 0.9896 GB, free: 2.75 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 8.83e-05/0.1672, allocations: 128.5 kB / 0.9897 GB, free: 2.613 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.1673, allocations: 19.98 kB / 0.9897 GB, free: 2.594 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.1675, allocations: 139.6 kB / 0.9899 GB, free: 2.449 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1675, allocations: 4 kB / 0.9899 GB, free: 2.445 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1675, allocations: 0 / 0.9899 GB, free: 2.445 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1675, allocations: 8.031 kB / 0.9899 GB, free: 2.438 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.168, allocations: 497.8 kB / 0.9904 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.168, allocations: 0 / 0.9904 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1681, allocations: 44.11 kB / 0.9904 GB, free: 1.859 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1681, allocations: 8 kB / 0.9904 GB, free: 1.852 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1682, allocations: 4 kB / 0.9904 GB, free: 1.848 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1682, allocations: 3.984 kB / 0.9904 GB, free: 1.844 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1682, allocations: 4 kB / 0.9904 GB, free: 1.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1684, allocations: 338.2 kB / 0.9908 GB, free: 1.469 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.1685, allocations: 27.86 kB / 0.9908 GB, free: 1.441 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1685, allocations: 11.98 kB / 0.9908 GB, free: 1.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.1686, allocations: 11.94 kB / 0.9908 GB, free: 1.418 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1686, allocations: 15.97 kB / 0.9908 GB, free: 1.402 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1687, allocations: 27.89 kB / 0.9908 GB, free: 1.375 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.1687, allocations: 62.78 kB / 0.9909 GB, free: 1.312 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1687, allocations: 0 / 0.9909 GB, free: 1.312 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002845/0.169, allocations: 115.7 kB / 0.991 GB, free: 1.199 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002548/0.1692, allocations: 148.2 kB / 0.9912 GB, free: 1.047 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.1694, allocations: 96.69 kB / 0.9912 GB, free: 0.9492 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.1694, allocations: 4 kB / 0.9912 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.1695, allocations: 50.09 kB / 0.9913 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1698, allocations: 105 kB / 0.9914 GB, free: 0.793 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.1707, allocations: 0.5496 MB / 0.9919 GB, free: 200 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.1708, allocations: 96.47 kB / 0.992 GB, free: 84 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.1709, allocations: 37.94 kB / 0.9921 GB, free: 44 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.1711, allocations: 135.2 kB / 0.9922 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of SimCode: time 1.132e-06/0.1711, allocations: 0 / 0.9922 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of Templates: time 0.008174/0.1793, allocations: 5.437 MB / 0.9975 GB, free: 10.57 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.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.860391672234982]