Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001027/0.001027, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009907/0.0009907, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9694/0.9694, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.826/1.826, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.664e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1513/0.1514, allocations: 163.8 MB / 0.9471 GB, free: 8.402 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005702/0.1571, allocations: 6.737 MB / 0.9537 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004661/0.1575, allocations: 23.81 kB / 0.9537 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.158, allocations: 170.7 kB / 0.9539 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.1598, allocations: 0.8705 MB / 0.9547 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.1606, allocations: 375 kB / 0.9551 GB, free: 220 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.1611, allocations: 0.7173 MB / 0.9558 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.1614, allocations: 219.3 kB / 0.956 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008836/0.1623, allocations: 0.6695 MB / 0.9566 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.1626, allocations: 247.3 kB / 0.9569 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.1626, allocations: 20 kB / 0.9569 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.1631, allocations: 307 kB / 0.9572 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1632, allocations: 119.6 kB / 0.9573 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.1633, allocations: 115.8 kB / 0.9574 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000449/0.1637, allocations: 386.7 kB / 0.9578 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1637, allocations: 3.938 kB / 0.9578 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1637, allocations: 0 / 0.9578 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1637, allocations: 0 / 0.9578 GB, free: 13.43 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.0006136/0.1644, allocations: 0.6434 MB / 0.9584 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1644, allocations: 8.031 kB / 0.9584 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.1647, allocations: 95.55 kB / 0.9585 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.165, allocations: 270.9 kB / 0.9588 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.165, allocations: 20.66 kB / 0.9588 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.165, allocations: 24 kB / 0.9588 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.1654, allocations: 277.5 kB / 0.9591 GB, free: 12 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1655, allocations: 3.984 kB / 0.9591 GB, free: 12 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.1655, allocations: 16 kB / 0.9591 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1655, allocations: 4 kB / 0.9591 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1656, allocations: 94.83 kB / 0.9592 GB, free: 11.89 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.0009558/0.1666, allocations: 1.429 MB / 0.9606 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1667, allocations: 82.92 kB / 0.9607 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.1667, allocations: 35.67 kB / 0.9607 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.167, allocations: 63.92 kB / 0.9608 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.167, allocations: 41.39 kB / 0.9608 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.167, allocations: 0 / 0.9608 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003354/0.1673, allocations: 155 kB / 0.9609 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1674, allocations: 59.34 kB / 0.961 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1675, allocations: 272.3 kB / 0.9613 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1675, allocations: 33.64 kB / 0.9613 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.1676, allocations: 238.9 kB / 0.9615 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1677, allocations: 51.62 kB / 0.9616 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1677, allocations: 47.31 kB / 0.9616 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1678, allocations: 0.5001 MB / 0.9621 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.1679, allocations: 19.98 kB / 0.9621 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.625e-05/0.168, allocations: 159.2 kB / 0.9623 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1681, allocations: 106 kB / 0.9624 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1681, allocations: 0 / 0.9624 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001681/0.1683, allocations: 133.4 kB / 0.9625 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1683, allocations: 18.11 kB / 0.9625 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1683, allocations: 4 kB / 0.9625 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1683, allocations: 4 kB / 0.9625 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1684, allocations: 35.92 kB / 0.9626 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1684, allocations: 3.984 kB / 0.9626 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.1685, allocations: 15.89 kB / 0.9626 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1685, allocations: 8 kB / 0.9626 GB, free: 8.172 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.75e-05/0.1686, allocations: 168.5 kB / 0.9627 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1686, allocations: 27.84 kB / 0.9628 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.1688, allocations: 127.4 kB / 0.9629 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1688, allocations: 4 kB / 0.9629 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1688, allocations: 4.031 kB / 0.9629 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.1688, allocations: 3.984 kB / 0.9629 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.1693, allocations: 0.5573 MB / 0.9634 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1693, allocations: 4 kB / 0.9634 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.1694, allocations: 20 kB / 0.9635 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1694, allocations: 4.219 kB / 0.9635 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1694, allocations: 11.98 kB / 0.9635 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1694, allocations: 7.938 kB / 0.9635 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1694, allocations: 0 / 0.9635 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.1696, allocations: 323.1 kB / 0.9638 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1696, allocations: 35.78 kB / 0.9638 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.1697, allocations: 8 kB / 0.9638 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.1697, allocations: 4 kB / 0.9638 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.1698, allocations: 19.92 kB / 0.9639 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1698, allocations: 4 kB / 0.9639 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.983e-05/0.1699, allocations: 197.1 kB / 0.9641 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1699, allocations: 0 / 0.9641 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002618/0.1701, allocations: 87.77 kB / 0.9641 GB, free: 6.441 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.0002159/0.1704, allocations: 139 kB / 0.9643 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1705, allocations: 87.53 kB / 0.9644 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1705, allocations: 0 / 0.9644 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.1706, allocations: 43.61 kB / 0.9644 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.171, allocations: 95.66 kB / 0.9645 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.1719, allocations: 0.5245 MB / 0.965 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.786e-05/0.1719, allocations: 96.3 kB / 0.9651 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.172, allocations: 45.91 kB / 0.9651 GB, free: 5.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.1721, allocations: 20.5 kB / 0.9652 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/0.1721, allocations: 0 / 0.9652 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of Templates: time 0.005908/0.178, allocations: 3.756 MB / 0.9688 GB, free: 1.652 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.288604949135333]