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.001131/0.001131, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.002231, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007226/0.0007226, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009798/0.001702, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9395/0.9395, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08568/1.025, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.408/2.408, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2378/2.646, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.583e-06/1.583e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.573e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1741/0.1742, allocations: 145.9 MB / 0.9608 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1755, allocations: 0.8293 MB / 0.9616 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.1756, allocations: 15.88 kB / 0.9617 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1758, allocations: 75.36 kB / 0.9617 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.1764, allocations: 330.2 kB / 0.962 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.1769, allocations: 271.3 kB / 0.9623 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.1773, allocations: 0.5338 MB / 0.9628 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1775, allocations: 147.5 kB / 0.963 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.1779, allocations: 299.2 kB / 0.9633 GB, free: 13.9 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.178, allocations: 163.5 kB / 0.9634 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.1781, allocations: 16 kB / 0.9634 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1782, allocations: 83.91 kB / 0.9635 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.1783, allocations: 79.77 kB / 0.9636 GB, free: 13.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.1783, allocations: 67.88 kB / 0.9636 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1786, allocations: 223.2 kB / 0.9639 GB, free: 13.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.1786, allocations: 4 kB / 0.9639 GB, free: 13.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1786, allocations: 0 / 0.9639 GB, free: 13.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.1786, allocations: 0 / 0.9639 GB, free: 13.28 MB / 0.948 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.0005296/0.1791, allocations: 487.2 kB / 0.9643 GB, free: 12.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1792, allocations: 8.031 kB / 0.9643 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.1792, allocations: 36.91 kB / 0.9644 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1794, allocations: 209.1 kB / 0.9646 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1794, allocations: 16.38 kB / 0.9646 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.1795, allocations: 16.38 kB / 0.9646 GB, free: 12.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1797, allocations: 221.1 kB / 0.9648 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1797, allocations: 0 / 0.9648 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1797, allocations: 12 kB / 0.9648 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1797, allocations: 4 kB / 0.9648 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.1798, allocations: 82.98 kB / 0.9649 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.1805, allocations: 1.162 MB / 0.966 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1806, allocations: 311.4 kB / 0.9663 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.1807, allocations: 68.41 kB / 0.9664 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.1808, allocations: 31.95 kB / 0.9664 GB, free: 10.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1808, allocations: 38.5 kB / 0.9665 GB, free: 10.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1808, allocations: 0 / 0.9665 GB, free: 10.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0001889/0.181, allocations: 101.5 kB / 0.9666 GB, free: 10.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.1811, allocations: 184.5 kB / 0.9667 GB, free: 10.03 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.1812, allocations: 194.3 kB / 0.9669 GB, free: 9.824 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1812, allocations: 25.7 kB / 0.967 GB, free: 9.793 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1813, allocations: 148.1 kB / 0.9671 GB, free: 9.645 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1813, allocations: 43.67 kB / 0.9671 GB, free: 9.602 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.1813, allocations: 33.69 kB / 0.9672 GB, free: 9.562 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003108/0.1816, allocations: 330.8 kB / 0.9675 GB, free: 9.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.1817, allocations: 14.81 kB / 0.9675 GB, free: 9.215 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.1817, allocations: 174.5 kB / 0.9677 GB, free: 8.992 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.759e-05/0.1818, allocations: 95.27 kB / 0.9678 GB, free: 8.871 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1818, allocations: 7.938 kB / 0.9678 GB, free: 8.863 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.754e-05/0.1819, allocations: 99.12 kB / 0.9679 GB, free: 8.758 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1819, allocations: 8 kB / 0.9679 GB, free: 8.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1819, allocations: 224 / 0.9679 GB, free: 8.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1819, allocations: 12.03 kB / 0.9679 GB, free: 8.738 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.182, allocations: 35.92 kB / 0.9679 GB, free: 8.703 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.182, allocations: 7.984 kB / 0.9679 GB, free: 8.695 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.1821, allocations: 19.88 kB / 0.9679 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.1821, allocations: 4 kB / 0.9679 GB, free: 8.672 MB / 0.948 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 6.881e-05/0.1822, allocations: 128.6 kB / 0.9681 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.1822, allocations: 19.92 kB / 0.9681 GB, free: 8.516 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.952e-05/0.1823, allocations: 63.14 kB / 0.9681 GB, free: 8.449 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1823, allocations: 4 kB / 0.9681 GB, free: 8.445 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1823, allocations: 12.06 kB / 0.9682 GB, free: 8.434 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1823, allocations: 11.86 kB / 0.9682 GB, free: 8.422 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.1828, allocations: 0.6503 MB / 0.9688 GB, free: 7.723 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.1828, allocations: 4 kB / 0.9688 GB, free: 7.719 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.1828, allocations: 19.98 kB / 0.9688 GB, free: 7.699 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.1829, allocations: 27.8 kB / 0.9689 GB, free: 7.672 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1829, allocations: 4 kB / 0.9689 GB, free: 7.668 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1829, allocations: 0 / 0.9689 GB, free: 7.668 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1829, allocations: 4.156 kB / 0.9689 GB, free: 7.664 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1829, allocations: 4 kB / 0.9689 GB, free: 7.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.183, allocations: 277.7 kB / 0.9691 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1831, allocations: 0 / 0.9691 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.1831, allocations: 4 kB / 0.9691 GB, free: 7.348 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1831, allocations: 15.92 kB / 0.9692 GB, free: 7.332 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1831, allocations: 4 kB / 0.9692 GB, free: 7.328 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.1832, allocations: 61.94 kB / 0.9692 GB, free: 7.266 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1832, allocations: 0 / 0.9692 GB, free: 7.266 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002142/0.1834, allocations: 63.83 kB / 0.9693 GB, free: 7.203 MB / 0.948 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.000196/0.1836, allocations: 108.3 kB / 0.9694 GB, free: 7.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.1837, allocations: 63.52 kB / 0.9694 GB, free: 7.027 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.1837, allocations: 3.984 kB / 0.9694 GB, free: 7.023 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.1838, allocations: 28.8 kB / 0.9695 GB, free: 6.992 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.1841, allocations: 68.98 kB / 0.9695 GB, free: 6.926 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1857, allocations: 431.8 kB / 0.9699 GB, free: 6.457 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.626e-05/0.1857, allocations: 91.84 kB / 0.97 GB, free: 6.344 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.368e-05/0.1858, allocations: 13.48 kB / 0.97 GB, free: 6.324 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1859, allocations: 99.31 kB / 0.9701 GB, free: 6.227 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/0.1859, allocations: 4 kB / 0.9701 GB, free: 6.223 MB / 0.948 GB Notification: Performance of Templates: time 0.004681/0.1906, allocations: 2.859 MB / 0.9729 GB, free: 3.43 MB / 0.948 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.ref.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.375979878008366]