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.001467/0.001467, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001648/0.001648, allocations: 217.1 kB / 23.01 MB, free: 4.602 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.919/2.919, allocations: 0.49 GB / 0.7958 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001885/0.001885, allocations: 68.33 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2869, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1735/0.4604, allocations: 151.2 MB / 1.475 GB, free: 9.703 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.4606, allocations: 67.86 kB / 1.475 GB, free: 9.637 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.4606, allocations: 0 / 1.475 GB, free: 9.637 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.4607, allocations: 0 / 1.475 GB, free: 9.637 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.4608, allocations: 15.91 kB / 1.475 GB, free: 9.621 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.4612, allocations: 111.6 kB / 1.475 GB, free: 9.512 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.4613, allocations: 35.92 kB / 1.475 GB, free: 9.477 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.4613, allocations: 0 / 1.475 GB, free: 9.477 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.522e-05/0.4614, allocations: 23.84 kB / 1.475 GB, free: 9.453 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.4615, allocations: 8 kB / 1.475 GB, free: 9.445 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.4615, allocations: 0 / 1.475 GB, free: 9.445 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.4617, allocations: 99.69 kB / 1.475 GB, free: 9.348 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.4618, allocations: 11.98 kB / 1.475 GB, free: 9.336 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.4618, allocations: 11.92 kB / 1.475 GB, free: 9.324 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.4619, allocations: 71.8 kB / 1.475 GB, free: 9.254 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4619, allocations: 0 / 1.475 GB, free: 9.254 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4619, allocations: 0 / 1.475 GB, free: 9.254 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.462, allocations: 4 kB / 1.475 GB, free: 9.25 MB / 1.17 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.0003704/0.4623, allocations: 266.2 kB / 1.475 GB, free: 8.961 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4624, allocations: 12.03 kB / 1.475 GB, free: 8.949 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.4626, allocations: 16.92 kB / 1.475 GB, free: 8.934 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.4627, allocations: 102.5 kB / 1.476 GB, free: 8.809 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.4628, allocations: 59.34 kB / 1.476 GB, free: 8.738 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.4628, allocations: 11.92 kB / 1.476 GB, free: 8.727 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4629, allocations: 45.67 kB / 1.476 GB, free: 8.676 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.4629, allocations: 7.938 kB / 1.476 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4629, allocations: 0 / 1.476 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4629, allocations: 0 / 1.476 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.671e-05/0.463, allocations: 19.98 kB / 1.476 GB, free: 8.648 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.4634, allocations: 235.9 kB / 1.476 GB, free: 8.375 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.4634, allocations: 22.52 kB / 1.476 GB, free: 8.344 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.4634, allocations: 8.922 kB / 1.476 GB, free: 8.332 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.4634, allocations: 0 / 1.476 GB, free: 8.332 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4634, allocations: 30.56 kB / 1.476 GB, free: 8.293 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4634, allocations: 0 / 1.476 GB, free: 8.293 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.4636, allocations: 29.7 kB / 1.476 GB, free: 8.258 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4636, allocations: 63.47 kB / 1.476 GB, free: 8.184 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.4637, allocations: 109.8 kB / 1.476 GB, free: 8.066 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.4637, allocations: 25.7 kB / 1.476 GB, free: 8.035 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.4638, allocations: 92.03 kB / 1.476 GB, free: 7.941 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.4638, allocations: 7.891 kB / 1.476 GB, free: 7.934 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.4638, allocations: 21.7 kB / 1.476 GB, free: 7.906 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.464, allocations: 314.8 kB / 1.477 GB, free: 7.59 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.464, allocations: 0 / 1.477 GB, free: 7.59 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.464, allocations: 30.56 kB / 1.477 GB, free: 7.551 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.464, allocations: 34.52 kB / 1.477 GB, free: 7.508 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.464, allocations: 0 / 1.477 GB, free: 7.508 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.703e-05/0.4641, allocations: 53.62 kB / 1.477 GB, free: 7.449 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4641, allocations: 8.094 kB / 1.477 GB, free: 7.441 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4642, allocations: 0 / 1.477 GB, free: 7.441 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4642, allocations: 4 kB / 1.477 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.4642, allocations: 4 kB / 1.477 GB, free: 7.434 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4642, allocations: 3.938 kB / 1.477 GB, free: 7.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.4643, allocations: 7.953 kB / 1.477 GB, free: 7.422 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.4643, allocations: 3.984 kB / 1.477 GB, free: 7.418 MB / 1.17 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 7.71e-05/0.4643, allocations: 114.4 kB / 1.477 GB, free: 7.297 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.4644, allocations: 0 / 1.477 GB, free: 7.297 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.4644, allocations: 11.16 kB / 1.477 GB, free: 7.281 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.4644, allocations: 0 / 1.477 GB, free: 7.281 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4644, allocations: 7.938 kB / 1.477 GB, free: 7.273 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.4644, allocations: 0 / 1.477 GB, free: 7.273 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.4647, allocations: 313.8 kB / 1.477 GB, free: 6.914 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4647, allocations: 256 / 1.477 GB, free: 6.914 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.4647, allocations: 3.984 kB / 1.477 GB, free: 6.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4647, allocations: 8.031 kB / 1.477 GB, free: 6.902 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.4647, allocations: 3.984 kB / 1.477 GB, free: 6.898 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4647, allocations: 8.031 kB / 1.477 GB, free: 6.891 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4647, allocations: 3.938 kB / 1.477 GB, free: 6.887 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.305e-05/0.4648, allocations: 53.14 kB / 1.477 GB, free: 6.816 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.4648, allocations: 11.89 kB / 1.477 GB, free: 6.805 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.4648, allocations: 7.922 kB / 1.477 GB, free: 6.797 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.4649, allocations: 4 kB / 1.477 GB, free: 6.793 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.4649, allocations: 32 / 1.477 GB, free: 6.793 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.4649, allocations: 4 kB / 1.477 GB, free: 6.789 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.4649, allocations: 83.28 kB / 1.477 GB, free: 6.707 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.4649, allocations: 3.938 kB / 1.477 GB, free: 6.703 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001944/0.4651, allocations: 11.98 kB / 1.477 GB, free: 6.691 MB / 1.17 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 9.002e-05/0.4652, allocations: 95.25 kB / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.4653, allocations: 8 kB / 1.477 GB, free: 6.582 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4653, allocations: 192 / 1.477 GB, free: 6.582 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 8.236e-06/0.4653, allocations: 11.94 kB / 1.477 GB, free: 6.57 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4655, allocations: 5.875 kB / 1.478 GB, free: 6.566 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.4657, allocations: 136.5 kB / 1.478 GB, free: 6.402 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.466, allocations: 0.6768 MB / 1.478 GB, free: 5.699 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.466, allocations: 7.438 kB / 1.478 GB, free: 5.691 MB / 1.17 GB Notification: Performance of SimCode: time 2.61e-07/0.466, allocations: 0 / 1.478 GB, free: 5.691 MB / 1.17 GB Notification: Performance of Templates: time 0.001939/0.468, allocations: 0.5703 MB / 1.479 GB, free: 5.125 MB / 1.17 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.205505970981903]