Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001429/0.001429, allocations: 80.69 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001715/0.001715, allocations: 162.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.912/2.912, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.122e-05, allocations: 2.281 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1867/0.1867, allocations: 130 MB / 1.127 GB, free: 4.797 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001458/0.1868, allocations: 43.8 kB / 1.127 GB, free: 4.754 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.1869, allocations: 4 kB / 1.127 GB, free: 4.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.187, allocations: 0 / 1.127 GB, free: 4.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.1871, allocations: 27.78 kB / 1.127 GB, free: 4.723 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.1875, allocations: 103.5 kB / 1.127 GB, free: 4.621 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.1876, allocations: 43.84 kB / 1.127 GB, free: 4.578 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.1877, allocations: 0 / 1.127 GB, free: 4.578 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.1877, allocations: 23.97 kB / 1.127 GB, free: 4.555 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.1878, allocations: 11.92 kB / 1.127 GB, free: 4.543 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1878, allocations: 4 kB / 1.127 GB, free: 4.539 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.1881, allocations: 67.8 kB / 1.127 GB, free: 4.473 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1881, allocations: 15.92 kB / 1.127 GB, free: 4.457 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1881, allocations: 7.984 kB / 1.127 GB, free: 4.449 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1883, allocations: 67.86 kB / 1.127 GB, free: 4.383 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1883, allocations: 0 / 1.127 GB, free: 4.383 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1883, allocations: 0 / 1.127 GB, free: 4.383 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.1883, allocations: 0 / 1.127 GB, free: 4.383 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000401/0.1887, allocations: 266.3 kB / 1.128 GB, free: 4.094 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1888, allocations: 12.03 kB / 1.128 GB, free: 4.082 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.189, allocations: 28.8 kB / 1.128 GB, free: 4.055 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1891, allocations: 105.7 kB / 1.128 GB, free: 3.926 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.1892, allocations: 51.97 kB / 1.128 GB, free: 3.863 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.1892, allocations: 8.125 kB / 1.128 GB, free: 3.855 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1894, allocations: 79.3 kB / 1.128 GB, free: 3.766 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1894, allocations: 4 kB / 1.128 GB, free: 3.762 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1894, allocations: 0 / 1.128 GB, free: 3.762 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.1894, allocations: 0 / 1.128 GB, free: 3.762 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.1895, allocations: 19.98 kB / 1.128 GB, free: 3.742 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1899, allocations: 212.5 kB / 1.128 GB, free: 3.504 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.343e-05/0.1899, allocations: 14.58 kB / 1.128 GB, free: 3.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.1899, allocations: 8.922 kB / 1.128 GB, free: 3.469 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.1899, allocations: 0 / 1.128 GB, free: 3.469 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.19, allocations: 34.59 kB / 1.128 GB, free: 3.426 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.19, allocations: 0 / 1.128 GB, free: 3.426 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.1901, allocations: 45.59 kB / 1.128 GB, free: 3.375 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1902, allocations: 51.41 kB / 1.128 GB, free: 3.312 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.1903, allocations: 114 kB / 1.128 GB, free: 3.191 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1903, allocations: 25.7 kB / 1.129 GB, free: 3.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.1903, allocations: 88.09 kB / 1.129 GB, free: 3.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.1903, allocations: 11.89 kB / 1.129 GB, free: 3.059 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.1904, allocations: 13.72 kB / 1.129 GB, free: 3.039 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1905, allocations: 322.8 kB / 1.129 GB, free: 2.715 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.1905, allocations: 4 kB / 1.129 GB, free: 2.711 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.1906, allocations: 18.58 kB / 1.129 GB, free: 2.684 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.1906, allocations: 38.5 kB / 1.129 GB, free: 2.637 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1906, allocations: 0 / 1.129 GB, free: 2.637 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.624e-05/0.1907, allocations: 49.64 kB / 1.129 GB, free: 2.582 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1907, allocations: 11.98 kB / 1.129 GB, free: 2.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1907, allocations: 0 / 1.129 GB, free: 2.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1907, allocations: 0 / 1.129 GB, free: 2.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.1908, allocations: 8 kB / 1.129 GB, free: 2.562 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1908, allocations: 0 / 1.129 GB, free: 2.562 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.1909, allocations: 3.953 kB / 1.129 GB, free: 2.559 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1909, allocations: 11.94 kB / 1.129 GB, free: 2.547 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 9.02e-05/0.191, allocations: 118.4 kB / 1.129 GB, free: 2.422 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.191, allocations: 0 / 1.129 GB, free: 2.422 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.191, allocations: 7.141 kB / 1.129 GB, free: 2.414 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.191, allocations: 3.938 kB / 1.129 GB, free: 2.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.191, allocations: 0 / 1.129 GB, free: 2.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.191, allocations: 4 kB / 1.129 GB, free: 2.406 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1913, allocations: 294.4 kB / 1.129 GB, free: 2.078 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1913, allocations: 0 / 1.129 GB, free: 2.078 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.1913, allocations: 0 / 1.129 GB, free: 2.078 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1913, allocations: 0 / 1.129 GB, free: 2.078 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1913, allocations: 8.031 kB / 1.129 GB, free: 2.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1913, allocations: 3.938 kB / 1.129 GB, free: 2.066 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1913, allocations: 0 / 1.129 GB, free: 2.066 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.143e-05/0.1914, allocations: 69 kB / 1.13 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.1914, allocations: 0 / 1.13 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1914, allocations: 0 / 1.13 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.1915, allocations: 4 kB / 1.13 GB, free: 1.977 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.1915, allocations: 0 / 1.13 GB, free: 1.977 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1915, allocations: 4.188 kB / 1.13 GB, free: 1.973 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.1916, allocations: 91.27 kB / 1.13 GB, free: 1.883 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1916, allocations: 8.031 kB / 1.13 GB, free: 1.875 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002022/0.1918, allocations: 4 kB / 1.13 GB, free: 1.871 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001184/0.1919, allocations: 99.25 kB / 1.13 GB, free: 1.762 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.927e-05/0.192, allocations: 15.94 kB / 1.13 GB, free: 1.746 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.192, allocations: 0 / 1.13 GB, free: 1.746 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.192, allocations: 7.984 kB / 1.13 GB, free: 1.738 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1922, allocations: 4 kB / 1.13 GB, free: 1.734 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.1925, allocations: 109.1 kB / 1.13 GB, free: 1.602 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.1925, allocations: 59.3 kB / 1.13 GB, free: 1.523 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.629e-05/0.1926, allocations: 12.06 kB / 1.13 GB, free: 1.512 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.1926, allocations: 12.5 kB / 1.13 GB, free: 1.5 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.1926, allocations: 0 / 1.13 GB, free: 1.5 MB / 1.076 GB Notification: Performance of Templates: time 0.002826/0.1954, allocations: 0.5301 MB / 1.13 GB, free: 1.012 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.011954195797443]