Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.0009766/0.0009766, 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.000997/0.000997, allocations: 169 kB / 23.02 MB, free: 1.551 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.053/1.053, 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.132/2.132, allocations: 429.5 MB / 0.6733 GB, free: 4.051 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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.533e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1462/0.1463, allocations: 147.4 MB / 1.022 GB, free: 2.391 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1494, allocations: 1.799 MB / 1.024 GB, free: 0.5898 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.1498, allocations: 27.75 kB / 1.024 GB, free: 0.5625 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.1502, allocations: 115 kB / 1.024 GB, free: 460 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.1516, allocations: 0.5593 MB / 1.025 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1527, allocations: 0.5222 MB / 1.025 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.1538, allocations: 1.048 MB / 1.026 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.1543, allocations: 325.6 kB / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.1557, allocations: 0.6552 MB / 1.027 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.1562, allocations: 395 kB / 1.027 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.1563, allocations: 36 kB / 1.027 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006482/0.1569, allocations: 355 kB / 1.028 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.1571, allocations: 167.5 kB / 1.028 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1573, allocations: 175.6 kB / 1.028 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008358/0.1581, allocations: 0.5722 MB / 1.029 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1581, allocations: 0 / 1.029 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1581, allocations: 0 / 1.029 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.1581, allocations: 4 kB / 1.029 GB, free: 11.69 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000939/0.1591, allocations: 0.7875 MB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1591, allocations: 8.031 kB / 1.029 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007706/0.1599, allocations: 204.3 kB / 1.03 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.1604, allocations: 355.8 kB / 1.03 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.1604, allocations: 29.12 kB / 1.03 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.1605, allocations: 40 kB / 1.03 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.161, allocations: 366.9 kB / 1.03 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.161, allocations: 0 / 1.03 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.1611, allocations: 16 kB / 1.03 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.1611, allocations: 15.98 kB / 1.03 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.1614, allocations: 149.8 kB / 1.031 GB, free: 9.641 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.001593/0.163, allocations: 1.676 MB / 1.032 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1632, allocations: 135 kB / 1.032 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1633, allocations: 68.06 kB / 1.032 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.1636, allocations: 55.78 kB / 1.032 GB, free: 7.625 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1636, allocations: 41.39 kB / 1.033 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=24): time 2.013e-06/0.1636, allocations: 0 / 1.033 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24): time 0.0005996/0.1642, allocations: 255.4 kB / 1.033 GB, free: 7.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1643, allocations: 59.39 kB / 1.033 GB, free: 7.25 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.1645, allocations: 322.3 kB / 1.033 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1645, allocations: 29.7 kB / 1.033 GB, free: 6.887 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1647, allocations: 287 kB / 1.033 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/0.1648, allocations: 87.22 kB / 1.034 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.1649, allocations: 63.36 kB / 1.034 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.165, allocations: 0.5118 MB / 1.034 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.1651, allocations: 43.97 kB / 1.034 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1653, allocations: 202.6 kB / 1.034 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.1656, allocations: 188.6 kB / 1.034 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1656, allocations: 4 kB / 1.034 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003573/0.1659, allocations: 229.1 kB / 1.035 GB, free: 5.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1659, allocations: 8 kB / 1.035 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1659, allocations: 3.938 kB / 1.035 GB, free: 5.168 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.166, allocations: 4 kB / 1.035 GB, free: 5.164 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1662, allocations: 59.91 kB / 1.035 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1662, allocations: 3.938 kB / 1.035 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.1663, allocations: 27.88 kB / 1.035 GB, free: 5.074 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.1663, allocations: 12 kB / 1.035 GB, free: 5.062 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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 0.0001174/0.1665, allocations: 176.7 kB / 1.035 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.1665, allocations: 43.77 kB / 1.035 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.1669, allocations: 216.6 kB / 1.035 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1669, allocations: 4 kB / 1.035 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1669, allocations: 0 / 1.035 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1669, allocations: 3.938 kB / 1.035 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.1678, allocations: 0.7019 MB / 1.036 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1678, allocations: 7.922 kB / 1.036 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.168, allocations: 43.92 kB / 1.036 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.168, allocations: 4 kB / 1.036 GB, free: 3.773 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.168, allocations: 8 kB / 1.036 GB, free: 3.766 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.168, allocations: 8 kB / 1.036 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.168, allocations: 3.938 kB / 1.036 GB, free: 3.754 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.1685, allocations: 451.8 kB / 1.036 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.1686, allocations: 63.72 kB / 1.036 GB, free: 3.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.1687, allocations: 16.08 kB / 1.037 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1688, allocations: 8 kB / 1.037 GB, free: 3.18 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.1689, allocations: 19.91 kB / 1.037 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1689, allocations: 12 kB / 1.037 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001406/0.169, allocations: 226.9 kB / 1.037 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.169, allocations: 0 / 1.037 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004481/0.1695, allocations: 127.7 kB / 1.037 GB, free: 2.805 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (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 Backend phase and start with SimCode phase: time 0.0002485/0.1697, allocations: 135.1 kB / 1.037 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.17, allocations: 147.4 kB / 1.037 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.17, allocations: 0 / 1.037 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1701, allocations: 87.45 kB / 1.037 GB, free: 2.422 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.1708, allocations: 128 kB / 1.037 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1722, allocations: 0.731 MB / 1.038 GB, free: 1.512 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.001e-05/0.1723, allocations: 120.6 kB / 1.038 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.1725, allocations: 70.92 kB / 1.038 GB, free: 1.305 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.1726, allocations: 28.5 kB / 1.038 GB, free: 1.273 MB / 0.9948 GB Notification: Performance of SimCode: time 1.172e-06/0.1726, allocations: 3.938 kB / 1.038 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of Templates: time 0.009656/0.1823, allocations: 5.258 MB / 1.043 GB, free: 12.14 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.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.516093749087304]