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.001264/0.001264, allocations: 93.06 kB / 19.65 MB, free: 272 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.001365/0.001365, allocations: 165 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.045/1.045, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.182/2.182, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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.763e-06/1.763e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.151e-05, allocations: 4 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1632/0.1633, allocations: 146.1 MB / 1.021 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1648, allocations: 0.8322 MB / 1.022 GB, free: 2.852 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.165, allocations: 11.88 kB / 1.022 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1654, allocations: 71.42 kB / 1.022 GB, free: 2.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008304/0.1662, allocations: 334.1 kB / 1.022 GB, free: 2.441 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.1668, allocations: 279.3 kB / 1.022 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.1674, allocations: 0.5299 MB / 1.023 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.1677, allocations: 157.5 kB / 1.023 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004593/0.1681, allocations: 287.2 kB / 1.023 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1684, allocations: 167.5 kB / 1.023 GB, free: 1.035 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.1684, allocations: 16 kB / 1.023 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1686, allocations: 83.92 kB / 1.024 GB, free: 0.9375 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1687, allocations: 87.72 kB / 1.024 GB, free: 0.8516 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.1687, allocations: 83.83 kB / 1.024 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.1691, allocations: 243.1 kB / 1.024 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1691, allocations: 4 kB / 1.024 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1691, allocations: 0 / 1.024 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1691, allocations: 0 / 1.024 GB, free: 0.5273 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.0006695/0.1698, allocations: 0.5537 MB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1698, allocations: 12.03 kB / 1.024 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.1699, allocations: 40.8 kB / 1.025 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.1706, allocations: 225.7 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1706, allocations: 12.38 kB / 1.025 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.1707, allocations: 20.38 kB / 1.025 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1709, allocations: 254.5 kB / 1.025 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1709, allocations: 0 / 1.025 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.171, allocations: 11.94 kB / 1.025 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.171, allocations: 4 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1711, allocations: 73.7 kB / 1.025 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1721, allocations: 1.699 MB / 1.027 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1723, allocations: 190.7 kB / 1.027 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.1724, allocations: 74.11 kB / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.1725, allocations: 35.95 kB / 1.027 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1726, allocations: 45.33 kB / 1.027 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.1726, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0002763/0.1728, allocations: 109.5 kB / 1.027 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1729, allocations: 187.9 kB / 1.027 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1731, allocations: 246.4 kB / 1.028 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1731, allocations: 33.7 kB / 1.028 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1732, allocations: 210.9 kB / 1.028 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1732, allocations: 31.7 kB / 1.028 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.1733, allocations: 47.31 kB / 1.028 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1734, allocations: 0.504 MB / 1.028 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.1734, allocations: 8 kB / 1.028 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1736, allocations: 208.2 kB / 1.029 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1737, allocations: 117.4 kB / 1.029 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1737, allocations: 4 kB / 1.029 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001524/0.1738, allocations: 125.3 kB / 1.029 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1738, allocations: 8 kB / 1.029 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1738, allocations: 0 / 1.029 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1739, allocations: 4.219 kB / 1.029 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.1739, allocations: 35.92 kB / 1.029 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.174, allocations: 0 / 1.029 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.174, allocations: 23.88 kB / 1.029 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.174, allocations: 8 kB / 1.029 GB, free: 10.91 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.789e-05/0.1741, allocations: 164.5 kB / 1.029 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.1742, allocations: 27.84 kB / 1.029 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1743, allocations: 78.81 kB / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1743, allocations: 4 kB / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1744, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1744, allocations: 8 kB / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.175, allocations: 0.9183 MB / 1.03 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.175, allocations: 3.938 kB / 1.03 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.175, allocations: 19.98 kB / 1.03 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.175, allocations: 4.125 kB / 1.03 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.175, allocations: 4 kB / 1.03 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1751, allocations: 4 kB / 1.03 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1751, allocations: 3.938 kB / 1.03 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1753, allocations: 306.2 kB / 1.03 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1753, allocations: 23.89 kB / 1.03 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1753, allocations: 8 kB / 1.03 GB, free: 9.219 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.1754, allocations: 4 kB / 1.03 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1754, allocations: 11.92 kB / 1.03 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1755, allocations: 11.98 kB / 1.03 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.75e-05/0.1756, allocations: 172.3 kB / 1.031 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1756, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000257/0.1758, allocations: 63.83 kB / 1.031 GB, free: 8.961 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.0002162/0.176, allocations: 131.2 kB / 1.031 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1762, allocations: 74.2 kB / 1.031 GB, free: 8.746 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1762, allocations: 0 / 1.031 GB, free: 8.746 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.1762, allocations: 39.7 kB / 1.031 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.1766, allocations: 60.56 kB / 1.031 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.1775, allocations: 460.9 kB / 1.031 GB, free: 8.145 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.729e-05/0.1775, allocations: 87.97 kB / 1.032 GB, free: 8.039 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.923e-05/0.1776, allocations: 33.45 kB / 1.032 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.1777, allocations: 20.5 kB / 1.032 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of SimCode: time 8.21e-07/0.1777, allocations: 0 / 1.032 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of Templates: time 0.005716/0.1834, allocations: 2.606 MB / 1.034 GB, free: 5.445 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: 6.019728838000447]