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: 110.2 kB / 19.69 MB, free: 2.254 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.001561/0.001561, allocations: 213 kB / 23.01 MB, free: 4.566 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.318/1.318, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 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.922/2.922, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.41 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2856, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1566/0.4422, allocations: 151.2 MB / 1.502 GB, free: 212 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.4423, allocations: 55.69 kB / 1.502 GB, free: 160 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.4423, allocations: 0 / 1.502 GB, free: 160 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 8.975e-05/0.4424, allocations: 7.984 kB / 1.502 GB, free: 152 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.4425, allocations: 11.92 kB / 1.502 GB, free: 140 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.4429, allocations: 117.9 kB / 1.502 GB, free: 24 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.847e-05/0.443, allocations: 27.97 kB / 1.502 GB, free: 15.99 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 3.212e-05/0.443, allocations: 0 / 1.502 GB, free: 15.99 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.4431, allocations: 19.92 kB / 1.502 GB, free: 15.97 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.4431, allocations: 15.88 kB / 1.502 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.4431, allocations: 8 kB / 1.502 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.4434, allocations: 87.7 kB / 1.502 GB, free: 15.87 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.4434, allocations: 15.97 kB / 1.502 GB, free: 15.85 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.4434, allocations: 15.94 kB / 1.502 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.4436, allocations: 63.84 kB / 1.502 GB, free: 15.77 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4436, allocations: 0 / 1.502 GB, free: 15.77 MB / 1.201 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4436, allocations: 7.875 kB / 1.502 GB, free: 15.77 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.4436, allocations: 0 / 1.502 GB, free: 15.77 MB / 1.201 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.0003342/0.4439, allocations: 270.2 kB / 1.502 GB, free: 15.47 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.4439, allocations: 12.03 kB / 1.502 GB, free: 15.46 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.4441, allocations: 20.91 kB / 1.502 GB, free: 15.44 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/0.4442, allocations: 110.5 kB / 1.503 GB, free: 15.31 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/0.4443, allocations: 59.34 kB / 1.503 GB, free: 15.24 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.4443, allocations: 0 / 1.503 GB, free: 15.24 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4444, allocations: 45.62 kB / 1.503 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4444, allocations: 0 / 1.503 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4445, allocations: 8 kB / 1.503 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.4445, allocations: 7.984 kB / 1.503 GB, free: 15.17 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.4445, allocations: 15.98 kB / 1.503 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.4449, allocations: 227.9 kB / 1.503 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.4449, allocations: 22.52 kB / 1.503 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.4449, allocations: 8.906 kB / 1.503 GB, free: 14.85 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.4449, allocations: 3.984 kB / 1.503 GB, free: 14.84 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4449, allocations: 30.56 kB / 1.503 GB, free: 14.8 MB / 1.201 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4449, allocations: 4.062 kB / 1.503 GB, free: 14.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.4451, allocations: 29.7 kB / 1.503 GB, free: 14.77 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4451, allocations: 55.34 kB / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.4452, allocations: 109.8 kB / 1.503 GB, free: 14.58 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.4452, allocations: 25.83 kB / 1.503 GB, free: 14.55 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.4452, allocations: 96.05 kB / 1.503 GB, free: 14.45 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.4453, allocations: 3.938 kB / 1.503 GB, free: 14.45 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.4453, allocations: 21.66 kB / 1.503 GB, free: 14.42 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4454, allocations: 314.8 kB / 1.504 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.4454, allocations: 4 kB / 1.504 GB, free: 14.1 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.4454, allocations: 22.58 kB / 1.504 GB, free: 14.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/0.4455, allocations: 34.56 kB / 1.504 GB, free: 14.03 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4455, allocations: 0 / 1.504 GB, free: 14.03 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.805e-05/0.4456, allocations: 57.58 kB / 1.504 GB, free: 13.96 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.4456, allocations: 14.06 kB / 1.504 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4456, allocations: 4 kB / 1.504 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.4456, allocations: 0 / 1.504 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.4457, allocations: 8.094 kB / 1.504 GB, free: 13.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.4457, allocations: 7.938 kB / 1.504 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.4457, allocations: 0 / 1.504 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4457, allocations: 4 kB / 1.504 GB, free: 13.93 MB / 1.201 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 6.934e-05/0.4458, allocations: 110.4 kB / 1.504 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.4458, allocations: 8 kB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.4458, allocations: 7.141 kB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.4458, allocations: 3.938 kB / 1.504 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4458, allocations: 3.938 kB / 1.504 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.4458, allocations: 4.094 kB / 1.504 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.4461, allocations: 317.8 kB / 1.504 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4461, allocations: 256 / 1.504 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.4461, allocations: 8 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4461, allocations: 3.938 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.4461, allocations: 0 / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4461, allocations: 0 / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4461, allocations: 3.984 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.984e-05/0.4462, allocations: 65.12 kB / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.4462, allocations: 3.938 kB / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.4462, allocations: 0 / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.4463, allocations: 7.984 kB / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.4463, allocations: 3.938 kB / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-06/0.4463, allocations: 0 / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.4463, allocations: 87.28 kB / 1.504 GB, free: 13.22 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.4463, allocations: 4.031 kB / 1.504 GB, free: 13.22 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0001876/0.4465, allocations: 4 kB / 1.504 GB, free: 13.21 MB / 1.201 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.983e-05/0.4466, allocations: 99.23 kB / 1.504 GB, free: 13.11 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 6.697e-05/0.4467, allocations: 12 kB / 1.504 GB, free: 13.1 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4467, allocations: 0 / 1.504 GB, free: 13.1 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-06/0.4467, allocations: 7.938 kB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.4469, allocations: 4 kB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.4471, allocations: 136.8 kB / 1.505 GB, free: 12.92 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.4474, allocations: 0.6768 MB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.4474, allocations: 11.38 kB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.4474, allocations: 0 / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of Templates: time 0.001725/0.4491, allocations: 0.5661 MB / 1.506 GB, free: 11.64 MB / 1.201 GB " [Timeout remaining time 300] 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/jenkins1/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: 10.042803099990124]