Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00156/0.00156, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001943/0.001943, allocations: 161 kB / 23.81 MB, free: 0.7539 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 / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.004/2.004, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.479e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1574/0.1574, allocations: 146.7 MB / 0.9548 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1593, allocations: 1.004 MB / 0.9558 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.1595, allocations: 23.81 kB / 0.9558 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.1599, allocations: 83.27 kB / 0.9559 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008989/0.1608, allocations: 405.7 kB / 0.9563 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.1615, allocations: 347.2 kB / 0.9566 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000704/0.1623, allocations: 0.7016 MB / 0.9573 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.1626, allocations: 227.5 kB / 0.9575 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005463/0.1632, allocations: 386.9 kB / 0.9579 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.1635, allocations: 243.3 kB / 0.9581 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.1635, allocations: 24 kB / 0.9581 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.1639, allocations: 179.6 kB / 0.9583 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.164, allocations: 119.6 kB / 0.9584 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1641, allocations: 111.8 kB / 0.9585 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.1646, allocations: 346.8 kB / 0.9589 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1646, allocations: 7.938 kB / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1646, allocations: 0 / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1646, allocations: 0 / 0.9589 GB, free: 10.37 MB / 0.9167 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.0007535/0.1654, allocations: 0.6361 MB / 0.9595 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1654, allocations: 11.97 kB / 0.9595 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.1657, allocations: 92.55 kB / 0.9596 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.1661, allocations: 271.4 kB / 0.9598 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1661, allocations: 21.03 kB / 0.9599 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.1662, allocations: 32.12 kB / 0.9599 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.1665, allocations: 273.5 kB / 0.9602 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1666, allocations: 0 / 0.9602 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1666, allocations: 12 kB / 0.9602 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1666, allocations: 12 kB / 0.9602 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1667, allocations: 86.83 kB / 0.9603 GB, free: 8.84 MB / 0.9167 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.001134/0.1679, allocations: 1.433 MB / 0.9617 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.168, allocations: 74.98 kB / 0.9617 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1681, allocations: 39.67 kB / 0.9618 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.1683, allocations: 43.94 kB / 0.9618 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1683, allocations: 41.39 kB / 0.9619 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/0.1683, allocations: 0 / 0.9619 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.000385/0.1687, allocations: 155.4 kB / 0.962 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1688, allocations: 59.34 kB / 0.9621 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1689, allocations: 280.3 kB / 0.9623 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.169, allocations: 33.64 kB / 0.9624 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1691, allocations: 234.9 kB / 0.9626 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1691, allocations: 55.56 kB / 0.9626 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.1692, allocations: 47.31 kB / 0.9627 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1693, allocations: 0.504 MB / 0.9632 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.009e-05/0.1693, allocations: 16 kB / 0.9632 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1694, allocations: 159.2 kB / 0.9633 GB, free: 5.488 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1695, allocations: 106 kB / 0.9634 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1695, allocations: 0 / 0.9634 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001732/0.1697, allocations: 145.3 kB / 0.9636 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1697, allocations: 4 kB / 0.9636 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1697, allocations: 0 / 0.9636 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1698, allocations: 4 kB / 0.9636 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1699, allocations: 32.14 kB / 0.9636 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.1699, allocations: 7.938 kB / 0.9636 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.1699, allocations: 11.95 kB / 0.9636 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.17, allocations: 15.98 kB / 0.9637 GB, free: 5.137 MB / 0.9167 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.716e-05/0.17, allocations: 168.5 kB / 0.9638 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1701, allocations: 23.86 kB / 0.9638 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.1703, allocations: 119.4 kB / 0.9639 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1703, allocations: 0 / 0.9639 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1703, allocations: 4 kB / 0.964 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1703, allocations: 7.938 kB / 0.964 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1708, allocations: 0.5496 MB / 0.9645 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1708, allocations: 3.938 kB / 0.9645 GB, free: 4.176 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.1709, allocations: 23.98 kB / 0.9645 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1709, allocations: 4 kB / 0.9645 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1709, allocations: 8 kB / 0.9645 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1709, allocations: 8.156 kB / 0.9645 GB, free: 4.133 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1709, allocations: 4 kB / 0.9645 GB, free: 4.129 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.1711, allocations: 325.5 kB / 0.9649 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1711, allocations: 39.72 kB / 0.9649 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1711, allocations: 4 kB / 0.9649 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.1712, allocations: 4 kB / 0.9649 GB, free: 3.715 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.1713, allocations: 19.97 kB / 0.9649 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1713, allocations: 4 kB / 0.9649 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.583e-05/0.1714, allocations: 197.1 kB / 0.9651 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1714, allocations: 0 / 0.9651 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002681/0.1716, allocations: 83.78 kB / 0.9652 GB, free: 3.418 MB / 0.9167 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.0002191/0.1718, allocations: 135 kB / 0.9653 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.172, allocations: 86.41 kB / 0.9654 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.172, allocations: 0 / 0.9654 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.1721, allocations: 44.34 kB / 0.9654 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1725, allocations: 91.47 kB / 0.9655 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.1734, allocations: 0.52 MB / 0.966 GB, free: 2.477 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.1735, allocations: 100.3 kB / 0.9661 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.1736, allocations: 49.92 kB / 0.9662 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.1736, allocations: 24.5 kB / 0.9662 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.1736, allocations: 0 / 0.9662 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of Templates: time 0.006485/0.1801, allocations: 3.672 MB / 0.9698 GB, free: 14.72 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.995244389865547]