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.001071/0.001071, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009246/0.0009246, allocations: 166 kB / 24.87 MB, free: 9.258 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.896/1.896, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.513e-06/1.513e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.559e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1215/0.1215, allocations: 144 MB / 0.9534 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.123, allocations: 0.9932 MB / 0.9544 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.1232, allocations: 15.88 kB / 0.9544 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1236, allocations: 91.2 kB / 0.9545 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007629/0.1243, allocations: 405.7 kB / 0.9548 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.1249, allocations: 347.2 kB / 0.9552 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.1255, allocations: 0.7094 MB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.1258, allocations: 231.4 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.1263, allocations: 375.1 kB / 0.9564 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.1265, allocations: 239.3 kB / 0.9567 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1265, allocations: 28 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1268, allocations: 187.5 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1269, allocations: 115.6 kB / 0.957 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.127, allocations: 115.7 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1273, allocations: 346.8 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1273, allocations: 0 / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1273, allocations: 0 / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1273, allocations: 0 / 0.9574 GB, free: 12.82 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.0005717/0.1279, allocations: 0.6476 MB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.128, allocations: 12.03 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.1282, allocations: 88.61 kB / 0.9582 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1285, allocations: 271.4 kB / 0.9584 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1285, allocations: 21.03 kB / 0.9584 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1285, allocations: 36.12 kB / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.1288, allocations: 257.5 kB / 0.9587 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1288, allocations: 0 / 0.9587 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1288, allocations: 12 kB / 0.9587 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1288, allocations: 8 kB / 0.9587 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.022e-05/0.1289, allocations: 67.39 kB / 0.9588 GB, free: 11.32 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.0008285/0.1297, allocations: 1.395 MB / 0.9602 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.639e-05/0.1298, allocations: 70.39 kB / 0.9602 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.1298, allocations: 31.67 kB / 0.9603 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.13, allocations: 43.95 kB / 0.9603 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.13, allocations: 45.38 kB / 0.9603 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.13, allocations: 0 / 0.9603 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0002626/0.1303, allocations: 133.7 kB / 0.9605 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.1303, allocations: 55.39 kB / 0.9605 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1305, allocations: 272.2 kB / 0.9608 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1305, allocations: 29.7 kB / 0.9608 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1306, allocations: 246.8 kB / 0.961 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1306, allocations: 47.58 kB / 0.9611 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.1307, allocations: 43.31 kB / 0.9611 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1308, allocations: 0.5117 MB / 0.9616 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.1308, allocations: 19.98 kB / 0.9617 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.1309, allocations: 161.8 kB / 0.9618 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.131, allocations: 93.94 kB / 0.9619 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.131, allocations: 0 / 0.9619 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001374/0.1311, allocations: 125.5 kB / 0.962 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1311, allocations: 8 kB / 0.962 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1311, allocations: 0 / 0.962 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.1311, allocations: 4 kB / 0.962 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.1312, allocations: 35.92 kB / 0.9621 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.1312, allocations: 0 / 0.9621 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.599e-05/0.1313, allocations: 23.81 kB / 0.9621 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1313, allocations: 8 kB / 0.9621 GB, free: 7.727 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.087e-05/0.1314, allocations: 160.6 kB / 0.9622 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.1314, allocations: 31.95 kB / 0.9623 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.1316, allocations: 115.4 kB / 0.9624 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1316, allocations: 4 kB / 0.9624 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1316, allocations: 0 / 0.9624 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1316, allocations: 3.938 kB / 0.9624 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.132, allocations: 0.5032 MB / 0.9629 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.132, allocations: 224 / 0.9629 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.132, allocations: 27.94 kB / 0.9629 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1321, allocations: 4 kB / 0.9629 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1321, allocations: 15.92 kB / 0.9629 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1321, allocations: 0 / 0.9629 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1321, allocations: 4 kB / 0.9629 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1322, allocations: 317.5 kB / 0.9632 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.1323, allocations: 31.84 kB / 0.9633 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1323, allocations: 7.938 kB / 0.9633 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.1324, allocations: 8 kB / 0.9633 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1324, allocations: 15.92 kB / 0.9633 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1324, allocations: 8 kB / 0.9633 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.386e-05/0.1325, allocations: 193.1 kB / 0.9635 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1325, allocations: 0 / 0.9635 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002475/0.1327, allocations: 83.77 kB / 0.9636 GB, free: 6.086 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.1329, allocations: 123.2 kB / 0.9637 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.133, allocations: 83.52 kB / 0.9638 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.133, allocations: 0 / 0.9638 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.1331, allocations: 41.42 kB / 0.9638 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1334, allocations: 103.8 kB / 0.9639 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.1342, allocations: 0.5199 MB / 0.9644 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.1342, allocations: 96.3 kB / 0.9645 GB, free: 5.035 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.808e-05/0.1343, allocations: 33.97 kB / 0.9645 GB, free: 5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1345, allocations: 138.1 kB / 0.9647 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of SimCode: time 8.12e-07/0.1345, allocations: 0 / 0.9647 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of Templates: time 0.006072/0.1405, allocations: 4.105 MB / 0.9687 GB, free: 0.8633 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.3862833473831415]