Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001238/0.001238, allocations: 93.06 kB / 19.65 MB, free: 272 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.001324/0.001324, allocations: 169 kB / 23.02 MB, free: 1.547 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.9855/0.9855, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.221/2.221, allocations: 429.5 MB / 0.6733 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.134e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1567/0.1567, allocations: 146.7 MB / 1.021 GB, free: 3.082 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1582, allocations: 0.9623 MB / 1.022 GB, free: 2.117 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.1584, allocations: 19.81 kB / 1.022 GB, free: 2.098 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.1588, allocations: 87.27 kB / 1.022 GB, free: 2.012 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008855/0.1597, allocations: 405.7 kB / 1.023 GB, free: 1.613 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.1603, allocations: 335.2 kB / 1.023 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005949/0.1609, allocations: 0.6937 MB / 1.024 GB, free: 0.5898 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.1612, allocations: 215.5 kB / 1.024 GB, free: 392 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.1616, allocations: 371 kB / 1.024 GB, free: 20 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1618, allocations: 251.3 kB / 1.025 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.1619, allocations: 20 kB / 1.025 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.1621, allocations: 191.5 kB / 1.025 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.1622, allocations: 119.6 kB / 1.025 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.1623, allocations: 107.7 kB / 1.025 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.1627, allocations: 342.8 kB / 1.025 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1627, allocations: 7.938 kB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1627, allocations: 4 kB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1627, allocations: 0 / 1.025 GB, free: 15 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005525/0.1632, allocations: 0.628 MB / 1.026 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1633, allocations: 8.031 kB / 1.026 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.1635, allocations: 100.5 kB / 1.026 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1638, allocations: 263.5 kB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1638, allocations: 21.03 kB / 1.026 GB, free: 13.92 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1638, allocations: 32.06 kB / 1.026 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.1642, allocations: 269.6 kB / 1.027 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1642, allocations: 3.938 kB / 1.027 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1643, allocations: 12 kB / 1.027 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1643, allocations: 8 kB / 1.027 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1644, allocations: 90.88 kB / 1.027 GB, free: 13.48 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.000883/0.1653, allocations: 1.433 MB / 1.028 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1654, allocations: 71.05 kB / 1.028 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.1654, allocations: 35.67 kB / 1.028 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.1656, allocations: 55.94 kB / 1.028 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1657, allocations: 37.39 kB / 1.028 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.1657, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0003937/0.1661, allocations: 153.6 kB / 1.029 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.1661, allocations: 55.41 kB / 1.029 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1663, allocations: 272.3 kB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1663, allocations: 33.7 kB / 1.029 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1664, allocations: 242.9 kB / 1.029 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1664, allocations: 43.64 kB / 1.029 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1665, allocations: 43.36 kB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1666, allocations: 0.5001 MB / 1.03 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.1666, allocations: 20 kB / 1.03 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-05/0.1667, allocations: 157.4 kB / 1.03 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1668, allocations: 114 kB / 1.03 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1668, allocations: 0 / 1.03 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001619/0.167, allocations: 141.3 kB / 1.03 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.167, allocations: 4 kB / 1.03 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.167, allocations: 4 kB / 1.03 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.167, allocations: 48 / 1.03 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.1671, allocations: 35.97 kB / 1.03 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1671, allocations: 7.875 kB / 1.03 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.1672, allocations: 24.05 kB / 1.03 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1672, allocations: 4 kB / 1.03 GB, free: 9.789 MB / 0.9948 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 (17): * Single equations (assignments): 17 * 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.125e-05/0.1673, allocations: 164.6 kB / 1.03 GB, free: 9.617 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.1673, allocations: 27.86 kB / 1.03 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.1675, allocations: 130.5 kB / 1.03 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1675, allocations: 0 / 1.03 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1675, allocations: 0 / 1.03 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1675, allocations: 3.938 kB / 1.03 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.168, allocations: 0.5574 MB / 1.031 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.168, allocations: 3.938 kB / 1.031 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.168, allocations: 27.92 kB / 1.031 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1681, allocations: 4 kB / 1.031 GB, free: 8.789 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.1681, allocations: 8 kB / 1.031 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1681, allocations: 4.062 kB / 1.031 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1681, allocations: 7.938 kB / 1.031 GB, free: 8.77 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.1683, allocations: 321.8 kB / 1.031 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.1683, allocations: 35.77 kB / 1.031 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1683, allocations: 8 kB / 1.031 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.1684, allocations: 4 kB / 1.031 GB, free: 8.359 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1684, allocations: 15.97 kB / 1.031 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1684, allocations: 4 kB / 1.031 GB, free: 8.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.349e-05/0.1685, allocations: 189.1 kB / 1.032 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1685, allocations: 3.938 kB / 1.032 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002749/0.1688, allocations: 87.77 kB / 1.032 GB, free: 8.066 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0001802/0.169, allocations: 135.1 kB / 1.032 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.1691, allocations: 87.53 kB / 1.032 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1691, allocations: 0 / 1.032 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.1692, allocations: 43.55 kB / 1.032 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1695, allocations: 89.09 kB / 1.032 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007734/0.1703, allocations: 0.5136 MB / 1.033 GB, free: 7.117 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.173e-05/0.1703, allocations: 96.3 kB / 1.033 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.586e-05/0.1704, allocations: 45.91 kB / 1.033 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.1705, allocations: 20.5 kB / 1.033 GB, free: 6.941 MB / 0.9948 GB Notification: Performance of SimCode: time 1.693e-06/0.1705, allocations: 7.938 kB / 1.033 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of Templates: time 0.005702/0.1762, allocations: 3.556 MB / 1.036 GB, free: 3.477 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.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.994059541262686]