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.001558/0.001558, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001824/0.001824, allocations: 219.4 kB / 22.26 MB, free: 5.121 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.988 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 3.003/3.003, allocations: 0.49 GB / 0.7951 GB, free: 33.33 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.001949/0.001949, allocations: 64.53 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 176.1 MB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.176/0.5083, allocations: 151.2 MB / 1.474 GB, free: 9.648 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001333/0.5084, allocations: 63.72 kB / 1.474 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.5084, allocations: 0 / 1.474 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 9.662e-05/0.5085, allocations: 3.938 kB / 1.474 GB, free: 9.586 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.5086, allocations: 11.92 kB / 1.474 GB, free: 9.574 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.5091, allocations: 109.9 kB / 1.474 GB, free: 9.469 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.5091, allocations: 39.84 kB / 1.474 GB, free: 9.43 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.5092, allocations: 0 / 1.474 GB, free: 9.43 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.5092, allocations: 19.92 kB / 1.474 GB, free: 9.41 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.5093, allocations: 11.97 kB / 1.474 GB, free: 9.398 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.5093, allocations: 4 kB / 1.474 GB, free: 9.395 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.5095, allocations: 91.7 kB / 1.474 GB, free: 9.305 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.5096, allocations: 11.98 kB / 1.474 GB, free: 9.293 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.5096, allocations: 11.94 kB / 1.474 GB, free: 9.281 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.5097, allocations: 71.78 kB / 1.474 GB, free: 9.211 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.5097, allocations: 3.938 kB / 1.474 GB, free: 9.207 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5097, allocations: 4 kB / 1.474 GB, free: 9.203 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5097, allocations: 0 / 1.474 GB, free: 9.203 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.0003511/0.5101, allocations: 270.2 kB / 1.475 GB, free: 8.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5101, allocations: 8.031 kB / 1.475 GB, free: 8.902 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.5103, allocations: 16.92 kB / 1.475 GB, free: 8.887 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.5104, allocations: 110.5 kB / 1.475 GB, free: 8.754 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.5105, allocations: 59.34 kB / 1.475 GB, free: 8.684 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.5105, allocations: 0 / 1.475 GB, free: 8.684 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.5106, allocations: 49.67 kB / 1.475 GB, free: 8.629 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.5106, allocations: 0 / 1.475 GB, free: 8.629 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.5106, allocations: 0 / 1.475 GB, free: 8.629 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.5107, allocations: 4 kB / 1.475 GB, free: 8.625 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.862e-05/0.5107, allocations: 19.92 kB / 1.475 GB, free: 8.605 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.5111, allocations: 235.9 kB / 1.475 GB, free: 8.332 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 4.386e-05/0.5111, allocations: 22.58 kB / 1.475 GB, free: 8.301 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.5111, allocations: 4.859 kB / 1.475 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.5111, allocations: 0 / 1.475 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5112, allocations: 30.56 kB / 1.475 GB, free: 8.254 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.5112, allocations: 0 / 1.475 GB, free: 8.254 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.5113, allocations: 37.83 kB / 1.475 GB, free: 8.211 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.5113, allocations: 63.33 kB / 1.475 GB, free: 8.137 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.5114, allocations: 105.8 kB / 1.475 GB, free: 8.023 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.5115, allocations: 29.64 kB / 1.475 GB, free: 7.988 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.5115, allocations: 96.08 kB / 1.476 GB, free: 7.891 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.5115, allocations: 7.891 kB / 1.476 GB, free: 7.883 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.5116, allocations: 17.72 kB / 1.476 GB, free: 7.859 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5117, allocations: 310.8 kB / 1.476 GB, free: 7.547 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.5117, allocations: 8 kB / 1.476 GB, free: 7.539 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.5118, allocations: 26.56 kB / 1.476 GB, free: 7.504 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.5118, allocations: 30.52 kB / 1.476 GB, free: 7.465 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5118, allocations: 256 / 1.476 GB, free: 7.465 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/0.512, allocations: 57.66 kB / 1.476 GB, free: 7.402 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.512, allocations: 6.031 kB / 1.476 GB, free: 7.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.512, allocations: 8 kB / 1.476 GB, free: 7.391 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.512, allocations: 0 / 1.476 GB, free: 7.391 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.5121, allocations: 4 kB / 1.476 GB, free: 7.387 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.5121, allocations: 11.92 kB / 1.476 GB, free: 7.375 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.5121, allocations: 3.953 kB / 1.476 GB, free: 7.371 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5121, allocations: 3.984 kB / 1.476 GB, free: 7.367 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 9.574e-05/0.5122, allocations: 114.3 kB / 1.476 GB, free: 7.246 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.5123, allocations: 4.062 kB / 1.476 GB, free: 7.242 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.5123, allocations: 11.16 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5123, allocations: 0 / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.5123, allocations: 3.938 kB / 1.476 GB, free: 7.223 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5123, allocations: 0 / 1.476 GB, free: 7.223 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.5126, allocations: 313.9 kB / 1.476 GB, free: 6.863 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5126, allocations: 0 / 1.476 GB, free: 6.863 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.5127, allocations: 4 kB / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.5127, allocations: 3.969 kB / 1.476 GB, free: 6.855 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.5127, allocations: 4 kB / 1.476 GB, free: 6.852 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5127, allocations: 0 / 1.476 GB, free: 6.852 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5127, allocations: 0 / 1.476 GB, free: 6.852 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.964e-05/0.5128, allocations: 65.06 kB / 1.476 GB, free: 6.77 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.5128, allocations: 7.891 kB / 1.476 GB, free: 6.762 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.5128, allocations: 0 / 1.476 GB, free: 6.762 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.5129, allocations: 4 kB / 1.476 GB, free: 6.758 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.5129, allocations: 8.109 kB / 1.476 GB, free: 6.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.5129, allocations: 3.938 kB / 1.476 GB, free: 6.746 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.13e-05/0.513, allocations: 91.27 kB / 1.477 GB, free: 6.656 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.513, allocations: 0 / 1.477 GB, free: 6.656 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003056/0.5133, allocations: 4 kB / 1.477 GB, free: 6.652 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 0.0001246/0.5134, allocations: 95.25 kB / 1.477 GB, free: 6.551 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.802e-05/0.5135, allocations: 11.94 kB / 1.477 GB, free: 6.539 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5135, allocations: 8.188 kB / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.5135, allocations: 11.92 kB / 1.477 GB, free: 6.52 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.5138, allocations: 5.688 kB / 1.477 GB, free: 6.516 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.5141, allocations: 110.8 kB / 1.477 GB, free: 6.383 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.5145, allocations: 0.6767 MB / 1.477 GB, free: 5.68 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.641e-05/0.5145, allocations: 12.05 kB / 1.477 GB, free: 5.668 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.5145, allocations: 7.438 kB / 1.478 GB, free: 5.66 MB / 1.17 GB Notification: Performance of SimCode: time 3.3e-07/0.5145, allocations: 0 / 1.478 GB, free: 5.66 MB / 1.17 GB Notification: Performance of Templates: time 0.003185/0.5177, allocations: 0.5341 MB / 1.478 GB, free: 5.141 MB / 1.17 GB " [Timeout remaining time 299] 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/jenkins/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: 8.382445683237165]