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.001591/0.001591, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001754/0.001754, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.465/1.465, allocations: 230.6 MB / 256.8 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 2.761/2.761, allocations: 476.7 MB / 0.7714 GB, free: 4.297 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.002004/0.002004, allocations: 67.38 kB / 1.119 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3307, allocations: 169.9 MB / 1.285 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1892/0.5199, allocations: 151.2 MB / 1.432 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.5201, allocations: 51.86 kB / 1.432 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.5201, allocations: 0 / 1.432 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.5202, allocations: 7.938 kB / 1.432 GB, free: 11.53 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.5203, allocations: 15.91 kB / 1.432 GB, free: 11.52 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.5209, allocations: 112.4 kB / 1.432 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.521, allocations: 27.86 kB / 1.432 GB, free: 11.38 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.521, allocations: 7.984 kB / 1.432 GB, free: 11.37 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.521, allocations: 19.98 kB / 1.432 GB, free: 11.35 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.5211, allocations: 7.938 kB / 1.432 GB, free: 11.34 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.5211, allocations: 4 kB / 1.432 GB, free: 11.34 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.5214, allocations: 91.69 kB / 1.433 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.5215, allocations: 15.98 kB / 1.433 GB, free: 11.23 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.5215, allocations: 19.92 kB / 1.433 GB, free: 11.21 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.5217, allocations: 63.86 kB / 1.433 GB, free: 11.15 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5217, allocations: 3.938 kB / 1.433 GB, free: 11.15 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5217, allocations: 3.938 kB / 1.433 GB, free: 11.14 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.5217, allocations: 0 / 1.433 GB, free: 11.14 MB / 1.139 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.0004303/0.5221, allocations: 274.2 kB / 1.433 GB, free: 10.85 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.5221, allocations: 8.031 kB / 1.433 GB, free: 10.84 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.5224, allocations: 16.92 kB / 1.433 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5225, allocations: 110.5 kB / 1.433 GB, free: 10.69 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/0.5226, allocations: 59.28 kB / 1.433 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.5226, allocations: 0 / 1.433 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.5227, allocations: 49.67 kB / 1.433 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5227, allocations: 0 / 1.433 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5228, allocations: 0 / 1.433 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.872e-05/0.5228, allocations: 4 kB / 1.433 GB, free: 10.56 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.798e-05/0.5228, allocations: 19.92 kB / 1.433 GB, free: 10.54 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.5232, allocations: 235.9 kB / 1.433 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.67e-05/0.5233, allocations: 18.58 kB / 1.433 GB, free: 10.24 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.5233, allocations: 4.859 kB / 1.433 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.5233, allocations: 0 / 1.433 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5234, allocations: 34.56 kB / 1.433 GB, free: 10.19 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5234, allocations: 4.062 kB / 1.433 GB, free: 10.19 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001477/0.5235, allocations: 37.64 kB / 1.434 GB, free: 10.14 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.5236, allocations: 55.34 kB / 1.434 GB, free: 10.08 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.5237, allocations: 105.8 kB / 1.434 GB, free: 9.965 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5237, allocations: 25.7 kB / 1.434 GB, free: 9.934 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.5237, allocations: 92.09 kB / 1.434 GB, free: 9.84 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-06/0.5238, allocations: 7.891 kB / 1.434 GB, free: 9.832 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.5238, allocations: 17.7 kB / 1.434 GB, free: 9.809 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5239, allocations: 319 kB / 1.434 GB, free: 9.488 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.5239, allocations: 4 kB / 1.434 GB, free: 9.484 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.524, allocations: 22.56 kB / 1.434 GB, free: 9.453 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.524, allocations: 30.52 kB / 1.434 GB, free: 9.414 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.524, allocations: 4 kB / 1.434 GB, free: 9.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.81e-05/0.5241, allocations: 57.66 kB / 1.434 GB, free: 9.348 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5241, allocations: 4 kB / 1.434 GB, free: 9.344 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.5241, allocations: 4 kB / 1.434 GB, free: 9.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5241, allocations: 3.984 kB / 1.434 GB, free: 9.336 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.5242, allocations: 4 kB / 1.434 GB, free: 9.332 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5242, allocations: 7.938 kB / 1.434 GB, free: 9.324 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.5243, allocations: 11.95 kB / 1.434 GB, free: 9.316 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.5243, allocations: 4 kB / 1.434 GB, free: 9.312 MB / 1.139 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.984e-05/0.5243, allocations: 117.9 kB / 1.434 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.5244, allocations: 0 / 1.434 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.32e-05/0.5244, allocations: 7.156 kB / 1.434 GB, free: 9.184 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5244, allocations: 0 / 1.434 GB, free: 9.184 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5244, allocations: 3.938 kB / 1.434 GB, free: 9.18 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5244, allocations: 0 / 1.434 GB, free: 9.18 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.5247, allocations: 313.9 kB / 1.435 GB, free: 8.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5247, allocations: 4.031 kB / 1.435 GB, free: 8.816 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.5247, allocations: 7.984 kB / 1.435 GB, free: 8.809 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5247, allocations: 7.875 kB / 1.435 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.5247, allocations: 0 / 1.435 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5247, allocations: 0 / 1.435 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5247, allocations: 0 / 1.435 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.185e-05/0.5248, allocations: 57.08 kB / 1.435 GB, free: 8.727 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.5248, allocations: 7.938 kB / 1.435 GB, free: 8.719 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5248, allocations: 8.016 kB / 1.435 GB, free: 8.711 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.5249, allocations: 4 kB / 1.435 GB, free: 8.707 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.5249, allocations: 0 / 1.435 GB, free: 8.707 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.5249, allocations: 0 / 1.435 GB, free: 8.707 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.525, allocations: 87.27 kB / 1.435 GB, free: 8.621 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.525, allocations: 0 / 1.435 GB, free: 8.621 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001903/0.5251, allocations: 4 kB / 1.435 GB, free: 8.617 MB / 1.139 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.0001005/0.5252, allocations: 99.25 kB / 1.435 GB, free: 8.512 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.758e-05/0.5253, allocations: 15.94 kB / 1.435 GB, free: 8.496 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5253, allocations: 4 kB / 1.435 GB, free: 8.492 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.579e-06/0.5253, allocations: 0 / 1.435 GB, free: 8.492 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.5256, allocations: 14.33 kB / 1.435 GB, free: 8.48 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.5258, allocations: 134.9 kB / 1.435 GB, free: 8.316 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.5261, allocations: 0.677 MB / 1.436 GB, free: 7.613 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.5262, allocations: 19.38 kB / 1.436 GB, free: 7.594 MB / 1.139 GB Notification: Performance of SimCode: time 2.91e-07/0.5262, allocations: 0 / 1.436 GB, free: 7.594 MB / 1.139 GB Notification: Performance of Templates: time 0.002021/0.5282, allocations: 0.567 MB / 1.436 GB, free: 7.031 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/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.063110613002209]