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.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.001745/0.001745, allocations: 113 kB / 18.94 MB, free: 2.934 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.002095/0.002095, allocations: 209.3 kB / 22.25 MB, free: 5.082 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.034/3.034, allocations: 476.7 MB / 0.7706 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.00205/0.00205, allocations: 64.33 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3982, allocations: 170 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2099/0.608, allocations: 151.2 MB / 1.431 GB, free: 3.512 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001608/0.6082, allocations: 51.73 kB / 1.431 GB, free: 3.465 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.6082, allocations: 4 kB / 1.431 GB, free: 3.461 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.6084, allocations: 11.92 kB / 1.432 GB, free: 3.449 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 9.666e-05/0.6085, allocations: 7.922 kB / 1.432 GB, free: 3.441 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.609, allocations: 107.6 kB / 1.432 GB, free: 3.336 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.6091, allocations: 43.84 kB / 1.432 GB, free: 3.293 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.6091, allocations: 0 / 1.432 GB, free: 3.293 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.6092, allocations: 15.92 kB / 1.432 GB, free: 3.277 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.6093, allocations: 19.98 kB / 1.432 GB, free: 3.258 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.6093, allocations: 0 / 1.432 GB, free: 3.258 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.6095, allocations: 91.7 kB / 1.432 GB, free: 3.168 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.6096, allocations: 7.984 kB / 1.432 GB, free: 3.16 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.6096, allocations: 11.94 kB / 1.432 GB, free: 3.148 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.6098, allocations: 79.7 kB / 1.432 GB, free: 3.07 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6098, allocations: 0 / 1.432 GB, free: 3.07 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6098, allocations: 0 / 1.432 GB, free: 3.07 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6099, allocations: 0 / 1.432 GB, free: 3.07 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.0004335/0.6103, allocations: 274.2 kB / 1.432 GB, free: 2.773 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6103, allocations: 8.031 kB / 1.432 GB, free: 2.766 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.6106, allocations: 20.91 kB / 1.432 GB, free: 2.746 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.6107, allocations: 106.5 kB / 1.432 GB, free: 2.617 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.471e-05/0.6108, allocations: 63.34 kB / 1.432 GB, free: 2.543 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.6108, allocations: 0 / 1.432 GB, free: 2.543 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.6109, allocations: 41.69 kB / 1.432 GB, free: 2.496 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.6109, allocations: 4 kB / 1.432 GB, free: 2.492 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.6109, allocations: 7.984 kB / 1.432 GB, free: 2.484 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.611, allocations: 0 / 1.432 GB, free: 2.484 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.611, allocations: 23.92 kB / 1.432 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.6115, allocations: 224 kB / 1.433 GB, free: 2.199 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.6115, allocations: 18.52 kB / 1.433 GB, free: 2.172 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.6115, allocations: 16.95 kB / 1.433 GB, free: 2.152 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.6115, allocations: 0 / 1.433 GB, free: 2.152 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.6117, allocations: 30.56 kB / 1.433 GB, free: 2.113 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.6117, allocations: 0 / 1.433 GB, free: 2.113 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001538/0.6118, allocations: 41.59 kB / 1.433 GB, free: 2.066 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.6119, allocations: 55.34 kB / 1.433 GB, free: 2 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.612, allocations: 113.8 kB / 1.433 GB, free: 1.879 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.612, allocations: 29.83 kB / 1.433 GB, free: 1.844 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.6121, allocations: 92.02 kB / 1.433 GB, free: 1.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.6121, allocations: 3.953 kB / 1.433 GB, free: 1.746 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.6121, allocations: 17.72 kB / 1.433 GB, free: 1.723 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.6123, allocations: 318.8 kB / 1.433 GB, free: 1.402 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.6123, allocations: 0 / 1.433 GB, free: 1.402 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.6124, allocations: 26.58 kB / 1.433 GB, free: 1.367 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.043e-05/0.6124, allocations: 38.5 kB / 1.433 GB, free: 1.32 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6124, allocations: 0 / 1.433 GB, free: 1.32 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.545e-05/0.6125, allocations: 53.62 kB / 1.433 GB, free: 1.262 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6125, allocations: 4 kB / 1.433 GB, free: 1.258 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6125, allocations: 0 / 1.433 GB, free: 1.258 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6125, allocations: 4 kB / 1.433 GB, free: 1.254 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.6126, allocations: 8.094 kB / 1.433 GB, free: 1.246 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6126, allocations: 3.938 kB / 1.433 GB, free: 1.242 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.6127, allocations: 7.938 kB / 1.433 GB, free: 1.234 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.6127, allocations: 0 / 1.433 GB, free: 1.234 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 9.012e-05/0.6127, allocations: 109.8 kB / 1.434 GB, free: 1.117 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.6128, allocations: 7.953 kB / 1.434 GB, free: 1.109 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.6128, allocations: 7.141 kB / 1.434 GB, free: 1.105 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6128, allocations: 4.25 kB / 1.434 GB, free: 1.102 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6128, allocations: 3.938 kB / 1.434 GB, free: 1.098 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6128, allocations: 8 kB / 1.434 GB, free: 1.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.6131, allocations: 309.9 kB / 1.434 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6131, allocations: 0 / 1.434 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.6131, allocations: 0 / 1.434 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6131, allocations: 7.938 kB / 1.434 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.6131, allocations: 0 / 1.434 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6131, allocations: 7.922 kB / 1.434 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6131, allocations: 0 / 1.434 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.22e-05/0.6132, allocations: 61.17 kB / 1.434 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.6132, allocations: 3.938 kB / 1.434 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.6132, allocations: 0 / 1.434 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.6133, allocations: 8.078 kB / 1.434 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.6133, allocations: 7.922 kB / 1.434 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.6133, allocations: 3.938 kB / 1.434 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.6134, allocations: 83.28 kB / 1.434 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.6134, allocations: 4.031 kB / 1.434 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002095/0.6136, allocations: 8 kB / 1.434 GB, free: 0.5234 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.0001259/0.6137, allocations: 99.23 kB / 1.434 GB, free: 428 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.586e-05/0.6138, allocations: 15.94 kB / 1.434 GB, free: 412 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6138, allocations: 0 / 1.434 GB, free: 412 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.6138, allocations: 4 kB / 1.434 GB, free: 408 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6141, allocations: 4.25 kB / 1.434 GB, free: 404 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.6144, allocations: 122.7 kB / 1.434 GB, free: 252 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.6147, allocations: 0.6768 MB / 1.435 GB, free: 15.54 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.691e-05/0.6148, allocations: 4 kB / 1.435 GB, free: 15.54 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.6148, allocations: 7.438 kB / 1.435 GB, free: 15.53 MB / 1.139 GB Notification: Performance of SimCode: time 2.91e-07/0.6148, allocations: 0 / 1.435 GB, free: 15.53 MB / 1.139 GB Notification: Performance of Templates: time 0.003032/0.6178, allocations: 0.5344 MB / 1.436 GB, free: 15.01 MB / 1.139 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.820959583856165]