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.001041/0.001041, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001041/0.001041, allocations: 177 kB / 24.08 MB, free: 416 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.955/0.955, allocations: 177.1 MB / 204.5 MB, free: 5.52 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 1.862/1.862, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] 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.653e-06/1.653e-06, allocations: 0 / 0.812 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.249e-05, allocations: 2.312 kB / 0.812 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1292/0.1293, allocations: 144 MB / 0.9526 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1312, allocations: 0.9996 MB / 0.9536 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.1315, allocations: 19.81 kB / 0.9536 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1318, allocations: 91.2 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008384/0.1326, allocations: 405.8 kB / 0.9541 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.1333, allocations: 355.2 kB / 0.9544 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007179/0.134, allocations: 0.6977 MB / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.1344, allocations: 223.5 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000888/0.1353, allocations: 386.9 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.1356, allocations: 243.3 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.1356, allocations: 20 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.136, allocations: 187.5 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.98e-05/0.1361, allocations: 119.6 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.1362, allocations: 111.7 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.1366, allocations: 342.8 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1366, allocations: 0 / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.31e-07/0.1366, allocations: 0 / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1366, allocations: 0 / 0.9567 GB, free: 12.81 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.0005947/0.1372, allocations: 0.6516 MB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1372, allocations: 12.03 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.1375, allocations: 88.61 kB / 0.9574 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1378, allocations: 271.4 kB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1379, allocations: 21.03 kB / 0.9577 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1379, allocations: 28.12 kB / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.1382, allocations: 257.6 kB / 0.9579 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1382, allocations: 7.922 kB / 0.958 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1382, allocations: 8 kB / 0.958 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1382, allocations: 7.984 kB / 0.958 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.1383, allocations: 75.33 kB / 0.958 GB, free: 11.3 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.0009213/0.1392, allocations: 1.391 MB / 0.9594 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1393, allocations: 67.02 kB / 0.9595 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.1393, allocations: 31.67 kB / 0.9595 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.1395, allocations: 51.95 kB / 0.9595 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1396, allocations: 33.39 kB / 0.9596 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.1396, allocations: 0 / 0.9596 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0002669/0.1398, allocations: 144.2 kB / 0.9597 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.1399, allocations: 51.41 kB / 0.9598 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.14, allocations: 272.2 kB / 0.96 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.14, allocations: 29.7 kB / 0.96 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1401, allocations: 242.8 kB / 0.9603 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1401, allocations: 55.58 kB / 0.9603 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.1402, allocations: 47.3 kB / 0.9604 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1403, allocations: 0.5078 MB / 0.9609 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.1403, allocations: 11.98 kB / 0.9609 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.1404, allocations: 151.2 kB / 0.961 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.388e-05/0.1405, allocations: 106 kB / 0.9611 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1405, allocations: 0 / 0.9611 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001389/0.1407, allocations: 133.3 kB / 0.9613 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1407, allocations: 8 kB / 0.9613 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1407, allocations: 0 / 0.9613 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1407, allocations: 0 / 0.9613 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.1408, allocations: 31.98 kB / 0.9613 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1408, allocations: 3.938 kB / 0.9613 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.1408, allocations: 27.83 kB / 0.9613 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.1409, allocations: 7.984 kB / 0.9613 GB, free: 7.703 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.007e-05/0.1409, allocations: 164.7 kB / 0.9615 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.141, allocations: 27.86 kB / 0.9615 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.1411, allocations: 111.4 kB / 0.9616 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1411, allocations: 4.047 kB / 0.9616 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1411, allocations: 3.984 kB / 0.9616 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1411, allocations: 0 / 0.9616 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.1416, allocations: 0.5033 MB / 0.9621 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1416, allocations: 4 kB / 0.9621 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.1416, allocations: 27.92 kB / 0.9622 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1417, allocations: 4 kB / 0.9622 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1417, allocations: 3.938 kB / 0.9622 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1417, allocations: 4 kB / 0.9622 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1417, allocations: 4 kB / 0.9622 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1418, allocations: 317.5 kB / 0.9625 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.1419, allocations: 27.84 kB / 0.9625 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1419, allocations: 23.98 kB / 0.9625 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.142, allocations: 4 kB / 0.9625 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.142, allocations: 15.98 kB / 0.9625 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.142, allocations: 4 kB / 0.9625 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.192e-05/0.1421, allocations: 185.1 kB / 0.9627 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1421, allocations: 0 / 0.9627 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002548/0.1423, allocations: 83.78 kB / 0.9628 GB, free: 6.074 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.0001773/0.1425, allocations: 143.1 kB / 0.9629 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.1426, allocations: 70.41 kB / 0.963 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1426, allocations: 4 kB / 0.963 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.1427, allocations: 47.59 kB / 0.963 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1431, allocations: 102.1 kB / 0.9631 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.1438, allocations: 0.52 MB / 0.9637 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.1439, allocations: 96.3 kB / 0.9637 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.272e-05/0.144, allocations: 29.95 kB / 0.9638 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.1441, allocations: 138.1 kB / 0.9639 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of SimCode: time 7.42e-07/0.1441, allocations: 0 / 0.9639 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of Templates: time 0.006298/0.1504, allocations: 4.046 MB / 0.9679 GB, free: 0.8867 MB / 0.9167 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.114696516189724]