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.001498/0.001498, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001758/0.001758, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.045/2.045, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.412e-06/1.412e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.677e-05, allocations: 7.562 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1308/0.1308, allocations: 146.1 MB / 1.021 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1323, allocations: 0.8297 MB / 1.022 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1325, allocations: 11.88 kB / 1.022 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.1329, allocations: 75.42 kB / 1.022 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008056/0.1337, allocations: 330.2 kB / 1.022 GB, free: 2.449 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.1343, allocations: 287.3 kB / 1.022 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.1348, allocations: 0.5299 MB / 1.023 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.1351, allocations: 149.4 kB / 1.023 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.1355, allocations: 287.3 kB / 1.023 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1357, allocations: 175.5 kB / 1.023 GB, free: 1.035 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.1358, allocations: 16 kB / 1.023 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1359, allocations: 75.92 kB / 1.024 GB, free: 0.9453 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.136, allocations: 91.72 kB / 1.024 GB, free: 0.8555 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.1361, allocations: 83.83 kB / 1.024 GB, free: 0.7734 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.1364, allocations: 247.1 kB / 1.024 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1364, allocations: 0 / 1.024 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1364, allocations: 0 / 1.024 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1364, allocations: 0 / 1.024 GB, free: 0.5312 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.0005958/0.137, allocations: 0.5614 MB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.137, allocations: 8.031 kB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.1371, allocations: 36.8 kB / 1.025 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1374, allocations: 225.7 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1374, allocations: 12.38 kB / 1.025 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.1374, allocations: 20.38 kB / 1.025 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.1377, allocations: 246.6 kB / 1.025 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1377, allocations: 4 kB / 1.025 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1377, allocations: 8 kB / 1.025 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1377, allocations: 11.94 kB / 1.025 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.976e-05/0.1378, allocations: 63.83 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.1388, allocations: 1.695 MB / 1.027 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.139, allocations: 194.7 kB / 1.027 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.139, allocations: 74.11 kB / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.1392, allocations: 31.95 kB / 1.027 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1392, allocations: 45.33 kB / 1.027 GB, free: 13 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 2.225e-06/0.1392, allocations: 0 / 1.027 GB, free: 13 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0002682/0.1395, allocations: 118.2 kB / 1.027 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1396, allocations: 183.9 kB / 1.027 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1397, allocations: 253.8 kB / 1.028 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1397, allocations: 29.7 kB / 1.028 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.1398, allocations: 203 kB / 1.028 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1399, allocations: 39.62 kB / 1.028 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.1399, allocations: 43.33 kB / 1.028 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002744/0.1402, allocations: 0.5001 MB / 1.028 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.1402, allocations: 12.06 kB / 1.028 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1403, allocations: 215.9 kB / 1.029 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1404, allocations: 117.4 kB / 1.029 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1404, allocations: 0 / 1.029 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001373/0.1406, allocations: 125.4 kB / 1.029 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1406, allocations: 8 kB / 1.029 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1406, allocations: 8.156 kB / 1.029 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1406, allocations: 4 kB / 1.029 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.1407, allocations: 23.98 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1407, allocations: 4 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.1408, allocations: 21.27 kB / 1.029 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1408, allocations: 8 kB / 1.029 GB, free: 10.92 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 8.4e-05/0.1409, allocations: 168.5 kB / 1.029 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.1409, allocations: 27.84 kB / 1.029 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.141, allocations: 82.77 kB / 1.029 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.141, allocations: 0 / 1.029 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1411, allocations: 8 kB / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1411, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.1416, allocations: 0.9066 MB / 1.03 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1416, allocations: 8.125 kB / 1.03 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.1417, allocations: 27.86 kB / 1.03 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1417, allocations: 0 / 1.03 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1417, allocations: 4 kB / 1.03 GB, free: 9.609 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1417, allocations: 4 kB / 1.03 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1417, allocations: 4.156 kB / 1.03 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1419, allocations: 302.1 kB / 1.03 GB, free: 9.266 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.1419, allocations: 27.83 kB / 1.03 GB, free: 9.238 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.142, allocations: 11.98 kB / 1.03 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.142, allocations: 4 kB / 1.03 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.1421, allocations: 19.86 kB / 1.03 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1421, allocations: 4 kB / 1.03 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.359e-05/0.1421, allocations: 174.9 kB / 1.031 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1421, allocations: 0 / 1.031 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002322/0.1424, allocations: 55.89 kB / 1.031 GB, free: 8.973 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.0001985/0.1426, allocations: 127.2 kB / 1.031 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1428, allocations: 71.62 kB / 1.031 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1428, allocations: 0 / 1.031 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.417e-05/0.1428, allocations: 39.55 kB / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1431, allocations: 57.2 kB / 1.031 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/0.1439, allocations: 460.9 kB / 1.031 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.176e-05/0.144, allocations: 87.97 kB / 1.031 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.1441, allocations: 37.45 kB / 1.032 GB, free: 8.023 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.1442, allocations: 16.5 kB / 1.032 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of SimCode: time 8.71e-07/0.1442, allocations: 0 / 1.032 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of Templates: time 0.005079/0.1493, allocations: 2.803 MB / 1.034 GB, free: 5.27 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.513793027028441]