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.0013/0.0013, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001463/0.001463, allocations: 214.7 kB / 22.99 MB, free: 4.949 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 2.815/2.815, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] 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.002141/0.002141, allocations: 67.03 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2825, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1689/0.4513, allocations: 129.9 MB / 1.411 GB, free: 9.512 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.4515, allocations: 47.75 kB / 1.411 GB, free: 9.469 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.4515, allocations: 0 / 1.411 GB, free: 9.469 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.4516, allocations: 3.938 kB / 1.411 GB, free: 9.465 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.4517, allocations: 19.91 kB / 1.411 GB, free: 9.445 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.4522, allocations: 107.7 kB / 1.411 GB, free: 9.34 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.4523, allocations: 39.78 kB / 1.411 GB, free: 9.301 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.4524, allocations: 3.984 kB / 1.411 GB, free: 9.297 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.4524, allocations: 12 kB / 1.411 GB, free: 9.285 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.4525, allocations: 11.97 kB / 1.411 GB, free: 9.273 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.4525, allocations: 4 kB / 1.411 GB, free: 9.27 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.4528, allocations: 67.75 kB / 1.411 GB, free: 9.203 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.4528, allocations: 11.91 kB / 1.411 GB, free: 9.191 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.4529, allocations: 12 kB / 1.411 GB, free: 9.18 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.453, allocations: 67.8 kB / 1.411 GB, free: 9.113 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4531, allocations: 0 / 1.411 GB, free: 9.113 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4531, allocations: 0 / 1.411 GB, free: 9.113 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5e-06/0.4531, allocations: 0 / 1.411 GB, free: 9.113 MB / 1.107 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.0004681/0.4535, allocations: 274.2 kB / 1.411 GB, free: 8.816 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4536, allocations: 8.031 kB / 1.411 GB, free: 8.809 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.4538, allocations: 16.92 kB / 1.411 GB, free: 8.793 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.4539, allocations: 110.5 kB / 1.411 GB, free: 8.66 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.454, allocations: 59.34 kB / 1.412 GB, free: 8.59 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.454, allocations: 0 / 1.412 GB, free: 8.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4542, allocations: 75.38 kB / 1.412 GB, free: 8.504 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4542, allocations: 0 / 1.412 GB, free: 8.504 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4542, allocations: 0 / 1.412 GB, free: 8.504 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.4542, allocations: 4 kB / 1.412 GB, free: 8.5 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.694e-05/0.4543, allocations: 15.98 kB / 1.412 GB, free: 8.484 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.4547, allocations: 212.4 kB / 1.412 GB, free: 8.246 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.893e-05/0.4547, allocations: 18.58 kB / 1.412 GB, free: 8.219 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.4548, allocations: 12.86 kB / 1.412 GB, free: 8.203 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.4548, allocations: 0 / 1.412 GB, free: 8.203 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.4548, allocations: 42.66 kB / 1.412 GB, free: 8.152 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.4548, allocations: 0 / 1.412 GB, free: 8.152 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.455, allocations: 37.59 kB / 1.412 GB, free: 8.109 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.455, allocations: 51.41 kB / 1.412 GB, free: 8.047 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4551, allocations: 109.8 kB / 1.412 GB, free: 7.93 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.4551, allocations: 33.64 kB / 1.412 GB, free: 7.891 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.4552, allocations: 95.97 kB / 1.412 GB, free: 7.793 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.4552, allocations: 3.953 kB / 1.412 GB, free: 7.789 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.4552, allocations: 17.84 kB / 1.412 GB, free: 7.766 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4554, allocations: 322.8 kB / 1.413 GB, free: 7.441 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.4554, allocations: 0 / 1.413 GB, free: 7.441 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.4554, allocations: 26.56 kB / 1.413 GB, free: 7.406 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.308e-05/0.4555, allocations: 34.5 kB / 1.413 GB, free: 7.363 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4555, allocations: 0 / 1.413 GB, free: 7.363 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.899e-05/0.4556, allocations: 53.62 kB / 1.413 GB, free: 7.305 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4556, allocations: 8.094 kB / 1.413 GB, free: 7.297 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4556, allocations: 4 kB / 1.413 GB, free: 7.293 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4556, allocations: 0 / 1.413 GB, free: 7.293 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.4557, allocations: 8 kB / 1.413 GB, free: 7.285 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4557, allocations: 4 kB / 1.413 GB, free: 7.281 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.4557, allocations: 7.891 kB / 1.413 GB, free: 7.273 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.4557, allocations: 0 / 1.413 GB, free: 7.273 MB / 1.107 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 8.109e-05/0.4558, allocations: 109.8 kB / 1.413 GB, free: 7.156 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.4558, allocations: 0 / 1.413 GB, free: 7.156 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.4558, allocations: 11.14 kB / 1.413 GB, free: 7.148 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4558, allocations: 7.938 kB / 1.413 GB, free: 7.141 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4559, allocations: 0 / 1.413 GB, free: 7.141 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4559, allocations: 3.938 kB / 1.413 GB, free: 7.137 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.4561, allocations: 294.4 kB / 1.413 GB, free: 6.809 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4561, allocations: 0 / 1.413 GB, free: 6.809 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.4561, allocations: 4 kB / 1.413 GB, free: 6.805 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4561, allocations: 0 / 1.413 GB, free: 6.805 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.4561, allocations: 0 / 1.413 GB, free: 6.805 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4562, allocations: 3.938 kB / 1.413 GB, free: 6.801 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4562, allocations: 0 / 1.413 GB, free: 6.801 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.746e-05/0.4562, allocations: 65.09 kB / 1.413 GB, free: 6.719 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.4562, allocations: 11.95 kB / 1.413 GB, free: 6.707 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4563, allocations: 0 / 1.413 GB, free: 6.707 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.4563, allocations: 4.188 kB / 1.413 GB, free: 6.703 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.4564, allocations: 4 kB / 1.413 GB, free: 6.699 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.4564, allocations: 4 kB / 1.413 GB, free: 6.695 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.225e-05/0.4564, allocations: 83.27 kB / 1.413 GB, free: 6.613 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4564, allocations: 3.938 kB / 1.413 GB, free: 6.609 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001978/0.4566, allocations: 12 kB / 1.413 GB, free: 6.598 MB / 1.107 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.0001097/0.4567, allocations: 99.28 kB / 1.413 GB, free: 6.492 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.4568, allocations: 15.92 kB / 1.413 GB, free: 6.477 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4568, allocations: 0 / 1.413 GB, free: 6.477 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.4568, allocations: 7.938 kB / 1.413 GB, free: 6.469 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.4571, allocations: 7.594 kB / 1.413 GB, free: 6.465 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.4574, allocations: 140.5 kB / 1.414 GB, free: 6.293 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.656e-05/0.4574, allocations: 59.34 kB / 1.414 GB, free: 6.215 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.4574, allocations: 7.688 kB / 1.414 GB, free: 6.207 MB / 1.107 GB Notification: Performance of SimCode: time 4.61e-07/0.4574, allocations: 4 kB / 1.414 GB, free: 6.203 MB / 1.107 GB Notification: Performance of Templates: time 0.002435/0.4599, allocations: 0.5937 MB / 1.414 GB, free: 5.617 MB / 1.107 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/jenkins1/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: 11.092741215135902]