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.00075/0.00075, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009929/0.001743, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006766/0.0006766, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008905/0.001567, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9323/0.9323, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08898/1.021, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.798/1.798, allocations: 378.3 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4466/2.245, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.571e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1228/0.1229, allocations: 143.6 MB / 0.8698 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.123, allocations: 55.73 kB / 0.8699 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.123, allocations: 4 kB / 0.8699 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.98e-05/0.1231, allocations: 7.938 kB / 0.8699 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.1231, allocations: 11.91 kB / 0.8699 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1234, allocations: 115.5 kB / 0.87 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.915e-05/0.1235, allocations: 31.86 kB / 0.8701 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.1236, allocations: 7.984 kB / 0.8701 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.1236, allocations: 27.97 kB / 0.8701 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.1237, allocations: 7.938 kB / 0.8701 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1237, allocations: 4 kB / 0.8701 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1239, allocations: 83.72 kB / 0.8702 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.1239, allocations: 7.938 kB / 0.8702 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.354e-05/0.1239, allocations: 4 kB / 0.8702 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.124, allocations: 55.89 kB / 0.8703 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.124, allocations: 4 kB / 0.8703 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.124, allocations: 0 / 0.8703 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.124, allocations: 3.938 kB / 0.8703 GB, free: 4.133 MB / 0.8386 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.0002843/0.1243, allocations: 248.5 kB / 0.8705 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.1244, allocations: 8.031 kB / 0.8705 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.1246, allocations: 106 kB / 0.8706 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.296e-05/0.1246, allocations: 113.7 kB / 0.8707 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.1247, allocations: 51.97 kB / 0.8708 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1247, allocations: 12.06 kB / 0.8708 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.724e-05/0.1248, allocations: 74.92 kB / 0.8709 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.1248, allocations: 4 kB / 0.8709 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1248, allocations: 4 kB / 0.8709 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1248, allocations: 3.984 kB / 0.8709 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.1248, allocations: 7.984 kB / 0.8709 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.125, allocations: 165.9 kB / 0.871 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.834e-05/0.1251, allocations: 22.52 kB / 0.871 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-06/0.1251, allocations: 4.859 kB / 0.8711 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-06/0.1251, allocations: 0 / 0.8711 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.1251, allocations: 30.62 kB / 0.8711 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.1251, allocations: 8 kB / 0.8711 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.092e-05/0.1252, allocations: 37.73 kB / 0.8711 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.1252, allocations: 51.41 kB / 0.8712 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.1252, allocations: 118.6 kB / 0.8713 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1253, allocations: 25.7 kB / 0.8713 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.1253, allocations: 91.98 kB / 0.8714 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-06/0.1253, allocations: 0 / 0.8714 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.1253, allocations: 21.7 kB / 0.8714 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.1254, allocations: 314.8 kB / 0.8717 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.1254, allocations: 3.984 kB / 0.8717 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.1254, allocations: 18.7 kB / 0.8717 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.1254, allocations: 41.28 kB / 0.8718 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1254, allocations: 0 / 0.8718 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.34e-05/0.1255, allocations: 45.62 kB / 0.8718 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1255, allocations: 4 kB / 0.8718 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1255, allocations: 3.984 kB / 0.8718 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.1255, allocations: 4 kB / 0.8718 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/0.1255, allocations: 8.031 kB / 0.8718 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.1255, allocations: 4 kB / 0.8718 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.1256, allocations: 7.953 kB / 0.8719 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1256, allocations: 7.984 kB / 0.8719 GB, free: 2.277 MB / 0.8386 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 4.648e-05/0.1256, allocations: 120.6 kB / 0.872 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.1256, allocations: 0 / 0.872 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.1256, allocations: 3.156 kB / 0.872 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1256, allocations: 7.984 kB / 0.872 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1256, allocations: 0 / 0.872 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1256, allocations: 0 / 0.872 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1258, allocations: 262.9 kB / 0.8722 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1258, allocations: 3.984 kB / 0.8722 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.1258, allocations: 0 / 0.8722 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.1258, allocations: 4 kB / 0.8722 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.1258, allocations: 0 / 0.8722 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-06/0.1258, allocations: 0 / 0.8722 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.1258, allocations: 0 / 0.8722 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1258, allocations: 0 / 0.8722 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.851e-05/0.1258, allocations: 65 kB / 0.8723 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.1258, allocations: 0 / 0.8723 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.718e-05/0.1259, allocations: 4 kB / 0.8723 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.1259, allocations: 4.062 kB / 0.8723 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-07/0.1259, allocations: 256 / 0.8723 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.165e-05/0.1259, allocations: 12.86 kB / 0.8723 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1259, allocations: 0 / 0.8723 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of remove unused functions: time 9.278e-05/0.126, allocations: 8 kB / 0.8723 GB, free: 1.73 MB / 0.8386 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 7.091e-05/0.1261, allocations: 84.39 kB / 0.8724 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.788e-05/0.1261, allocations: 20.8 kB / 0.8724 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.1261, allocations: 0 / 0.8724 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.556e-06/0.1261, allocations: 13.14 kB / 0.8725 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.1262, allocations: 41.62 kB / 0.8725 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.1269, allocations: 123.5 kB / 0.8726 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.529e-05/0.1269, allocations: 59.22 kB / 0.8727 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.1269, allocations: 12.17 kB / 0.8727 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.127, allocations: 59.34 kB / 0.8727 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.127, allocations: 0 / 0.8727 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of Templates: time 0.001835/0.1288, allocations: 0.63 MB / 0.8733 GB, free: 0.6484 MB / 0.8386 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.750539653003216]