Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001573/0.001573, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001916/0.001916, allocations: 173 kB / 24.06 MB, free: 452 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 1.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.15/2.15, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.985e-05, allocations: 3.156 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1366/0.1367, allocations: 143.4 MB / 1.019 GB, free: 6.16 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1378, allocations: 0.8297 MB / 1.02 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1379, allocations: 15.88 kB / 1.02 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.1382, allocations: 67.42 kB / 1.02 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.1388, allocations: 330.2 kB / 1.021 GB, free: 4.922 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.1393, allocations: 287.2 kB / 1.021 GB, free: 4.641 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.1397, allocations: 0.5298 MB / 1.021 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.1399, allocations: 154.9 kB / 1.022 GB, free: 3.961 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.1402, allocations: 287.2 kB / 1.022 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1404, allocations: 171.5 kB / 1.022 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1404, allocations: 19.98 kB / 1.022 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1406, allocations: 83.92 kB / 1.022 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.1406, allocations: 91.7 kB / 1.022 GB, free: 3.32 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 6.688e-05/0.1407, allocations: 75.84 kB / 1.022 GB, free: 3.246 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.141, allocations: 247.1 kB / 1.022 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.141, allocations: 0 / 1.022 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.22e-07/0.141, allocations: 0 / 1.022 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.141, allocations: 0 / 1.022 GB, free: 3.004 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000719/0.1417, allocations: 0.5575 MB / 1.023 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.1417, allocations: 8.031 kB / 1.023 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.1418, allocations: 40.8 kB / 1.023 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.142, allocations: 217.7 kB / 1.023 GB, free: 2.125 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.142, allocations: 16.38 kB / 1.023 GB, free: 2.109 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.142, allocations: 16.38 kB / 1.023 GB, free: 2.094 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.1422, allocations: 250.5 kB / 1.024 GB, free: 1.797 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.1423, allocations: 0 / 1.024 GB, free: 1.797 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1423, allocations: 11.94 kB / 1.024 GB, free: 1.785 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1423, allocations: 4 kB / 1.024 GB, free: 1.781 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.1423, allocations: 55.83 kB / 1.024 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.1432, allocations: 1.695 MB / 1.025 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1433, allocations: 194.7 kB / 1.025 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.1434, allocations: 74.05 kB / 1.026 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.1435, allocations: 31.95 kB / 1.026 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1435, allocations: 41.39 kB / 1.026 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1435, allocations: 7.938 kB / 1.026 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0002197/0.1437, allocations: 105.5 kB / 1.026 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.1438, allocations: 191.9 kB / 1.026 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1439, allocations: 245.7 kB / 1.026 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1439, allocations: 25.7 kB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.144, allocations: 207 kB / 1.026 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.144, allocations: 43.61 kB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.1441, allocations: 39.95 kB / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1442, allocations: 0.504 MB / 1.027 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.1442, allocations: 8 kB / 1.027 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.1443, allocations: 208 kB / 1.027 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.976e-05/0.1444, allocations: 109.4 kB / 1.027 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1444, allocations: 3.984 kB / 1.027 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001222/0.1445, allocations: 121.3 kB / 1.027 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1445, allocations: 4 kB / 1.027 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1445, allocations: 4 kB / 1.027 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.1445, allocations: 7.984 kB / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.1446, allocations: 23.94 kB / 1.027 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1446, allocations: 7.984 kB / 1.027 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.1447, allocations: 21.27 kB / 1.027 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1447, allocations: 8.219 kB / 1.027 GB, free: 13.43 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 7.214e-05/0.1447, allocations: 160.6 kB / 1.028 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.1448, allocations: 27.78 kB / 1.028 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1449, allocations: 87.12 kB / 1.028 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1449, allocations: 0 / 1.028 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1449, allocations: 4 kB / 1.028 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1449, allocations: 0 / 1.028 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.1454, allocations: 0.8719 MB / 1.029 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1454, allocations: 8.094 kB / 1.029 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.1455, allocations: 19.98 kB / 1.029 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1455, allocations: 4 kB / 1.029 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1455, allocations: 4 kB / 1.029 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1455, allocations: 4 kB / 1.029 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1455, allocations: 0 / 1.029 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1457, allocations: 294 kB / 1.029 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.1457, allocations: 27.83 kB / 1.029 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1457, allocations: 8 kB / 1.029 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.1458, allocations: 12.02 kB / 1.029 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1458, allocations: 11.92 kB / 1.029 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1458, allocations: 8 kB / 1.029 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.1459, allocations: 166.9 kB / 1.029 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1459, allocations: 0 / 1.029 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002353/0.1461, allocations: 59.89 kB / 1.029 GB, free: 11.56 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0006261/0.1468, allocations: 131.1 kB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1469, allocations: 63.91 kB / 1.029 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1469, allocations: 4.062 kB / 1.029 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.1469, allocations: 39.7 kB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1472, allocations: 56.19 kB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.1478, allocations: 461 kB / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.869e-05/0.1478, allocations: 87.91 kB / 1.03 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.1479, allocations: 13.48 kB / 1.03 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.148, allocations: 122.2 kB / 1.03 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of SimCode: time 8.52e-07/0.148, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of Templates: time 0.004509/0.1525, allocations: 2.867 MB / 1.033 GB, free: 7.715 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.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.727659404743463]