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.001003/0.001003, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001061/0.001061, allocations: 173 kB / 23.49 MB, free: 1.055 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.9177/0.9177, allocations: 177.1 MB / 203.8 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.13/2.13, allocations: 429.5 MB / 0.6736 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.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.194e-06/2.194e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.564e-05, allocations: 7.188 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1465/0.1466, allocations: 163.8 MB / 1.038 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005897/0.1525, allocations: 6.72 MB / 1.045 GB, free: 11.47 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.1529, allocations: 19.81 kB / 1.045 GB, free: 11.45 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.1535, allocations: 174.7 kB / 1.045 GB, free: 11.28 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.1554, allocations: 0.8473 MB / 1.046 GB, free: 10.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.1562, allocations: 375 kB / 1.046 GB, free: 10.06 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.000662/0.1569, allocations: 0.6937 MB / 1.047 GB, free: 9.363 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.1572, allocations: 199.4 kB / 1.047 GB, free: 9.172 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.1585, allocations: 0.8213 MB / 1.048 GB, free: 8.348 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.1587, allocations: 239.3 kB / 1.048 GB, free: 8.113 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.1588, allocations: 24 kB / 1.048 GB, free: 8.09 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.1592, allocations: 291.2 kB / 1.048 GB, free: 7.805 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1593, allocations: 115.6 kB / 1.048 GB, free: 7.691 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1595, allocations: 119.7 kB / 1.049 GB, free: 7.574 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.1601, allocations: 390.6 kB / 1.049 GB, free: 7.191 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1601, allocations: 0 / 1.049 GB, free: 7.191 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1601, allocations: 0 / 1.049 GB, free: 7.191 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.1601, allocations: 4 kB / 1.049 GB, free: 7.188 MB / 1.01 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.0009565/0.161, allocations: 0.6356 MB / 1.05 GB, free: 6.512 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1611, allocations: 8.031 kB / 1.05 GB, free: 6.504 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.1614, allocations: 91.66 kB / 1.05 GB, free: 6.414 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1617, allocations: 266.8 kB / 1.05 GB, free: 6.129 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1617, allocations: 20.66 kB / 1.05 GB, free: 6.109 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1618, allocations: 24 kB / 1.05 GB, free: 6.086 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.1621, allocations: 277.5 kB / 1.05 GB, free: 5.773 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.1621, allocations: 4 kB / 1.05 GB, free: 5.77 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1621, allocations: 12 kB / 1.05 GB, free: 5.758 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1621, allocations: 4 kB / 1.05 GB, free: 5.754 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1623, allocations: 102.8 kB / 1.05 GB, free: 5.656 MB / 1.01 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.00102/0.1633, allocations: 1.433 MB / 1.052 GB, free: 4.156 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1635, allocations: 79.03 kB / 1.052 GB, free: 4.066 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.1635, allocations: 39.67 kB / 1.052 GB, free: 4.023 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.1638, allocations: 59.94 kB / 1.052 GB, free: 3.965 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1638, allocations: 45.33 kB / 1.052 GB, free: 3.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.1638, allocations: 0 / 1.052 GB, free: 3.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0003519/0.1642, allocations: 141.5 kB / 1.052 GB, free: 3.766 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1642, allocations: 59.41 kB / 1.052 GB, free: 3.695 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.1644, allocations: 276.3 kB / 1.052 GB, free: 3.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1644, allocations: 25.7 kB / 1.052 GB, free: 3.379 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1645, allocations: 238.9 kB / 1.053 GB, free: 3.141 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1645, allocations: 47.58 kB / 1.053 GB, free: 3.094 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.1646, allocations: 43.36 kB / 1.053 GB, free: 3.043 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1647, allocations: 0.5001 MB / 1.053 GB, free: 2.531 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.1647, allocations: 19.98 kB / 1.053 GB, free: 2.512 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1649, allocations: 171.1 kB / 1.053 GB, free: 2.301 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.165, allocations: 102 kB / 1.054 GB, free: 2.176 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.165, allocations: 3.984 kB / 1.054 GB, free: 2.172 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001686/0.1651, allocations: 133.4 kB / 1.054 GB, free: 2.035 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1652, allocations: 16.09 kB / 1.054 GB, free: 2.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1652, allocations: 0 / 1.054 GB, free: 2.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1652, allocations: 4 kB / 1.054 GB, free: 2.016 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1653, allocations: 31.92 kB / 1.054 GB, free: 1.984 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1653, allocations: 0 / 1.054 GB, free: 1.984 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.1654, allocations: 19.89 kB / 1.054 GB, free: 1.965 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1654, allocations: 8 kB / 1.054 GB, free: 1.957 MB / 1.01 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.82e-05/0.1655, allocations: 164.5 kB / 1.054 GB, free: 1.785 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1655, allocations: 35.78 kB / 1.054 GB, free: 1.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.1657, allocations: 119.6 kB / 1.054 GB, free: 1.625 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1657, allocations: 7.984 kB / 1.054 GB, free: 1.617 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1657, allocations: 0 / 1.054 GB, free: 1.617 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1657, allocations: 0 / 1.054 GB, free: 1.617 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.1662, allocations: 0.5574 MB / 1.055 GB, free: 0.9883 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1662, allocations: 4 kB / 1.055 GB, free: 0.9844 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.1663, allocations: 24.16 kB / 1.055 GB, free: 0.9609 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1663, allocations: 7.984 kB / 1.055 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1663, allocations: 12.11 kB / 1.055 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1663, allocations: 4 kB / 1.055 GB, free: 0.9375 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1663, allocations: 3.984 kB / 1.055 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1665, allocations: 328.7 kB / 1.055 GB, free: 0.5664 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1666, allocations: 35.84 kB / 1.055 GB, free: 0.5312 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1666, allocations: 4 kB / 1.055 GB, free: 0.5273 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.1667, allocations: 4 kB / 1.055 GB, free: 0.5234 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1667, allocations: 23.86 kB / 1.055 GB, free: 0.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.1667, allocations: 11.98 kB / 1.055 GB, free: 500 kB / 1.01 GB Notification: Performance of sorting global known variables: time 9.522e-05/0.1668, allocations: 189.1 kB / 1.055 GB, free: 312 kB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1668, allocations: 0 / 1.055 GB, free: 312 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002578/0.1671, allocations: 87.77 kB / 1.055 GB, free: 224 kB / 1.01 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.0002234/0.1673, allocations: 131.2 kB / 1.055 GB, free: 84 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1675, allocations: 79.53 kB / 1.055 GB, free: 0 / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1675, allocations: 0 / 1.055 GB, free: 0 / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.3326/0.5001, allocations: 46.36 kB / 1.056 GB, free: 224 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.5006, allocations: 82.69 kB / 1.056 GB, free: 224 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5016, allocations: 0.5162 MB / 1.056 GB, free: 223.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.896e-05/0.5017, allocations: 101.4 kB / 1.056 GB, free: 223.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.5018, allocations: 41 kB / 1.056 GB, free: 223.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.5019, allocations: 20.16 kB / 1.056 GB, free: 223.6 MB / 1.01 GB Notification: Performance of SimCode: time 2.284e-06/0.5019, allocations: 2.938 kB / 1.056 GB, free: 223.6 MB / 1.01 GB Notification: Performance of Templates: time 0.005939/0.5078, allocations: 3.65 MB / 1.06 GB, free: 223.4 MB / 1.01 GB " [Timeout remaining time 299] 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.865290381014347]