Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 198.1 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8535/0.8554, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1919/1.047, allocations: 148.3 MB / 1.419 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/1.048, allocations: 47.86 kB / 1.419 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/1.048, allocations: 0 / 1.419 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/1.048, allocations: 3.938 kB / 1.419 GB, free: 15.62 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/1.048, allocations: 11.91 kB / 1.419 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/1.049, allocations: 111.6 kB / 1.419 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/1.049, allocations: 39.86 kB / 1.419 GB, free: 15.46 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/1.049, allocations: 3.984 kB / 1.419 GB, free: 15.46 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.735e-05/1.049, allocations: 11.98 kB / 1.419 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/1.049, allocations: 11.94 kB / 1.419 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/1.049, allocations: 0 / 1.419 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/1.049, allocations: 91.7 kB / 1.419 GB, free: 15.35 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/1.049, allocations: 15.97 kB / 1.419 GB, free: 15.33 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/1.049, allocations: 7.938 kB / 1.419 GB, free: 15.32 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/1.05, allocations: 82.45 kB / 1.419 GB, free: 15.25 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.05, allocations: 0 / 1.419 GB, free: 15.25 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.215e-06/1.05, allocations: 4 kB / 1.419 GB, free: 15.24 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.05, allocations: 0 / 1.419 GB, free: 15.24 MB / 1.123 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.0007085/1.05, allocations: 335.4 kB / 1.42 GB, free: 14.87 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 8.23e-05/1.051, allocations: 8.031 kB / 1.42 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/1.051, allocations: 16.92 kB / 1.42 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/1.051, allocations: 172.3 kB / 1.42 GB, free: 14.64 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.051, allocations: 33.58 kB / 1.42 GB, free: 14.6 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/1.051, allocations: 4 kB / 1.42 GB, free: 14.59 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/1.052, allocations: 45.69 kB / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.052, allocations: 3.984 kB / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/1.052, allocations: 0 / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/1.052, allocations: 7.984 kB / 1.42 GB, free: 14.53 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.637e-05/1.052, allocations: 19.92 kB / 1.42 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/1.052, allocations: 256.9 kB / 1.42 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/1.053, allocations: 18.58 kB / 1.42 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/1.053, allocations: 4.859 kB / 1.42 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/1.053, allocations: 48 / 1.42 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/1.053, allocations: 38.48 kB / 1.42 GB, free: 14.13 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/1.053, allocations: 4.062 kB / 1.42 GB, free: 14.12 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.000217/1.053, allocations: 37.73 kB / 1.42 GB, free: 14.08 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.918e-05/1.053, allocations: 59.38 kB / 1.42 GB, free: 14.01 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/1.053, allocations: 109.8 kB / 1.42 GB, free: 13.89 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/1.053, allocations: 25.7 kB / 1.42 GB, free: 13.86 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.053, allocations: 95.98 kB / 1.421 GB, free: 13.77 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/1.053, allocations: 4 kB / 1.421 GB, free: 13.76 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/1.053, allocations: 17.67 kB / 1.421 GB, free: 13.74 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.053, allocations: 314.8 kB / 1.421 GB, free: 13.42 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/1.054, allocations: 12 kB / 1.421 GB, free: 13.41 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/1.054, allocations: 18.58 kB / 1.421 GB, free: 13.38 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/1.054, allocations: 38.5 kB / 1.421 GB, free: 13.34 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.054, allocations: 0 / 1.421 GB, free: 13.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001324/1.054, allocations: 57.69 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.054, allocations: 4 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.054, allocations: 4 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.054, allocations: 0 / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/1.054, allocations: 4 kB / 1.421 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.054, allocations: 7.938 kB / 1.421 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/1.054, allocations: 0 / 1.421 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/1.054, allocations: 7.938 kB / 1.421 GB, free: 13.25 MB / 1.123 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 0.0001252/1.054, allocations: 109.8 kB / 1.421 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/1.054, allocations: 11.97 kB / 1.421 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/1.054, allocations: 7.109 kB / 1.421 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.054, allocations: 0 / 1.421 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/1.054, allocations: 3.938 kB / 1.421 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.054, allocations: 0 / 1.421 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/1.055, allocations: 342.8 kB / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.055, allocations: 0 / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/1.055, allocations: 4 kB / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.055, allocations: 3.938 kB / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/1.055, allocations: 4.031 kB / 1.421 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/1.055, allocations: 3.938 kB / 1.421 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.055, allocations: 3.984 kB / 1.421 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/1.055, allocations: 57.14 kB / 1.422 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/1.055, allocations: 81.05 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/1.055, allocations: 0 / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/1.055, allocations: 7.984 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/1.055, allocations: 4.031 kB / 1.422 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/1.055, allocations: 256 / 1.422 GB, free: 12.51 MB / 1.123 GB Notification: Performance of sorting global known variables: time 7.071e-05/1.055, allocations: 87.28 kB / 1.422 GB, free: 12.43 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.055, allocations: 3.938 kB / 1.422 GB, free: 12.42 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002507/1.055, allocations: 8 kB / 1.422 GB, free: 12.41 MB / 1.123 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.0001848/1.055, allocations: 99.77 kB / 1.422 GB, free: 12.31 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001405/1.056, allocations: 19.94 kB / 1.422 GB, free: 12.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.056, allocations: 4.188 kB / 1.422 GB, free: 12.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/1.056, allocations: 0 / 1.422 GB, free: 12.29 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/1.056, allocations: 4 kB / 1.422 GB, free: 12.28 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/1.056, allocations: 118.5 kB / 1.422 GB, free: 12.14 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/1.057, allocations: 0.6768 MB / 1.423 GB, free: 11.44 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 8.182e-05/1.057, allocations: 12.14 kB / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/1.057, allocations: 7.438 kB / 1.423 GB, free: 11.42 MB / 1.123 GB Notification: Performance of SimCode: time 8.91e-07/1.057, allocations: 0 / 1.423 GB, free: 11.42 MB / 1.123 GB Notification: Performance of Templates: time 0.003958/1.061, allocations: 0.5166 MB / 1.423 GB, free: 10.91 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.092164120171219]