Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008079/0.0008079, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001873, allocations: 449.7 kB / 10.37 MB, free: 328 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.000692/0.000692, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009646/0.001657, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9246/0.9246, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09125/1.016, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.858/1.858, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4979/2.356, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.234e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1646/0.1646, allocations: 143.6 MB / 0.8695 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001975/0.1648, allocations: 55.73 kB / 0.8696 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.1648, allocations: 0 / 0.8696 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.1649, allocations: 7.938 kB / 0.8696 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.165, allocations: 11.92 kB / 0.8696 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.1656, allocations: 123.5 kB / 0.8697 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1657, allocations: 31.86 kB / 0.8697 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1657, allocations: 4 kB / 0.8697 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.1658, allocations: 23.97 kB / 0.8698 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.1659, allocations: 11.92 kB / 0.8698 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1659, allocations: 4 kB / 0.8698 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.1661, allocations: 75.67 kB / 0.8699 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.1661, allocations: 15.98 kB / 0.8699 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.1661, allocations: 4 kB / 0.8699 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.1663, allocations: 55.83 kB / 0.8699 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.621e-05/0.1663, allocations: 4 kB / 0.8699 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1663, allocations: 0 / 0.8699 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.1663, allocations: 0 / 0.8699 GB, free: 4.223 MB / 0.8386 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.0003455/0.1666, allocations: 248.5 kB / 0.8702 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1667, allocations: 8.031 kB / 0.8702 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.1669, allocations: 106 kB / 0.8703 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/0.167, allocations: 113.7 kB / 0.8704 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.1671, allocations: 55.95 kB / 0.8704 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1671, allocations: 8.125 kB / 0.8705 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1672, allocations: 78.92 kB / 0.8705 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1672, allocations: 4 kB / 0.8705 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1672, allocations: 0 / 0.8705 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.1673, allocations: 0 / 0.8705 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.1673, allocations: 15.98 kB / 0.8705 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.1675, allocations: 169.9 kB / 0.8707 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.1676, allocations: 22.52 kB / 0.8707 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.032e-05/0.1676, allocations: 4.859 kB / 0.8707 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-06/0.1676, allocations: 0 / 0.8707 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1676, allocations: 34.62 kB / 0.8708 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.1676, allocations: 0 / 0.8708 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.066e-05/0.1677, allocations: 33.73 kB / 0.8708 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.1677, allocations: 55.34 kB / 0.8709 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.1678, allocations: 106.7 kB / 0.871 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1678, allocations: 29.83 kB / 0.871 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.1678, allocations: 99.97 kB / 0.8711 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.1678, allocations: 4 kB / 0.8711 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.1679, allocations: 9.719 kB / 0.8711 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.1679, allocations: 318.8 kB / 0.8714 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.1679, allocations: 0 / 0.8714 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/0.168, allocations: 22.56 kB / 0.8714 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.168, allocations: 37.28 kB / 0.8715 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.168, allocations: 0 / 0.8715 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.274e-05/0.168, allocations: 53.56 kB / 0.8715 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.168, allocations: 8 kB / 0.8715 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.168, allocations: 0 / 0.8715 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.168, allocations: 0 / 0.8715 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.1681, allocations: 8 kB / 0.8715 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.1681, allocations: 3.984 kB / 0.8715 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.1681, allocations: 7.953 kB / 0.8715 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.1681, allocations: 3.984 kB / 0.8715 GB, free: 2.371 MB / 0.8386 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 4.964e-05/0.1682, allocations: 112.7 kB / 0.8716 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.1682, allocations: 8 kB / 0.8716 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.1682, allocations: 7.156 kB / 0.8717 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1682, allocations: 0 / 0.8717 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1682, allocations: 0 / 0.8717 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1682, allocations: 3.938 kB / 0.8717 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.1683, allocations: 258.9 kB / 0.8719 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1684, allocations: 0 / 0.8719 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-06/0.1684, allocations: 4 kB / 0.8719 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.1684, allocations: 0 / 0.8719 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1684, allocations: 0 / 0.8719 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.1684, allocations: 12.02 kB / 0.8719 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1684, allocations: 0 / 0.8719 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1684, allocations: 256 / 0.8719 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.08e-05/0.1684, allocations: 61.02 kB / 0.872 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.1684, allocations: 4 kB / 0.872 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.1685, allocations: 7.984 kB / 0.872 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-06/0.1685, allocations: 0 / 0.872 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-06/0.1685, allocations: 4 kB / 0.872 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.145e-05/0.1685, allocations: 8.859 kB / 0.872 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1685, allocations: 0 / 0.872 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of remove unused functions: time 9.053e-05/0.1686, allocations: 8.031 kB / 0.872 GB, free: 1.816 MB / 0.8386 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 7.816e-05/0.1686, allocations: 84.42 kB / 0.8721 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.951e-05/0.1687, allocations: 20.78 kB / 0.8721 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1687, allocations: 0 / 0.8721 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.48e-06/0.1687, allocations: 8.844 kB / 0.8721 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.1688, allocations: 19.92 kB / 0.8721 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/0.1695, allocations: 123.8 kB / 0.8723 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.67e-05/0.1695, allocations: 59.2 kB / 0.8723 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.1695, allocations: 4 kB / 0.8723 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.1696, allocations: 59.36 kB / 0.8724 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.1696, allocations: 0 / 0.8724 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of Templates: time 0.001883/0.1715, allocations: 0.6522 MB / 0.873 GB, free: 0.75 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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: 4.9887406677007675]