Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001757/0.001757, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002041/0.002041, allocations: 154.8 kB / 23.01 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.872/2.872, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002092/0.002092, allocations: 63.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9909/0.993, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.206/1.199, allocations: 130 MB / 1.314 GB, free: 3.938 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.000216/1.199, allocations: 43.88 kB / 1.314 GB, free: 3.895 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/1.199, allocations: 4 kB / 1.314 GB, free: 3.891 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/1.199, allocations: 7.922 kB / 1.314 GB, free: 3.883 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/1.2, allocations: 7.922 kB / 1.314 GB, free: 3.875 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/1.2, allocations: 113.1 kB / 1.314 GB, free: 3.766 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/1.2, allocations: 39.84 kB / 1.314 GB, free: 3.727 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/1.2, allocations: 0 / 1.314 GB, free: 3.727 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/1.2, allocations: 12 kB / 1.314 GB, free: 3.715 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/1.201, allocations: 15.91 kB / 1.314 GB, free: 3.699 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/1.201, allocations: 0 / 1.314 GB, free: 3.699 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/1.201, allocations: 71.73 kB / 1.314 GB, free: 3.629 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/1.201, allocations: 7.984 kB / 1.314 GB, free: 3.621 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/1.201, allocations: 15.98 kB / 1.314 GB, free: 3.605 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/1.201, allocations: 71.17 kB / 1.314 GB, free: 3.543 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.201, allocations: 3.938 kB / 1.314 GB, free: 3.539 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.003e-06/1.201, allocations: 0 / 1.314 GB, free: 3.539 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.584e-05/1.201, allocations: 0 / 1.314 GB, free: 3.539 MB / 1.154 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.0006452/1.202, allocations: 258.3 kB / 1.314 GB, free: 3.258 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.202, allocations: 8.031 kB / 1.314 GB, free: 3.25 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/1.202, allocations: 20.88 kB / 1.314 GB, free: 3.23 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/1.202, allocations: 110.5 kB / 1.314 GB, free: 3.098 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/1.203, allocations: 63.33 kB / 1.314 GB, free: 3.023 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/1.203, allocations: 0 / 1.314 GB, free: 3.023 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/1.203, allocations: 75.38 kB / 1.314 GB, free: 2.938 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.203, allocations: 0 / 1.314 GB, free: 2.938 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.203, allocations: 0 / 1.314 GB, free: 2.938 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/1.203, allocations: 0 / 1.314 GB, free: 2.938 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/1.203, allocations: 23.92 kB / 1.314 GB, free: 2.914 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/1.203, allocations: 212.5 kB / 1.315 GB, free: 2.676 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.974e-05/1.204, allocations: 30.5 kB / 1.315 GB, free: 2.637 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/1.204, allocations: 4.859 kB / 1.315 GB, free: 2.629 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/1.204, allocations: 0 / 1.315 GB, free: 2.629 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/1.204, allocations: 38.62 kB / 1.315 GB, free: 2.582 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/1.204, allocations: 0 / 1.315 GB, free: 2.582 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0002068/1.204, allocations: 33.64 kB / 1.315 GB, free: 2.543 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.204, allocations: 51.41 kB / 1.315 GB, free: 2.48 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/1.204, allocations: 117.7 kB / 1.315 GB, free: 2.355 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.204, allocations: 25.7 kB / 1.315 GB, free: 2.324 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/1.204, allocations: 88.22 kB / 1.315 GB, free: 2.234 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/1.204, allocations: 11.95 kB / 1.315 GB, free: 2.223 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/1.204, allocations: 17.7 kB / 1.315 GB, free: 2.199 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.204, allocations: 314.8 kB / 1.315 GB, free: 1.883 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/1.204, allocations: 4 kB / 1.315 GB, free: 1.879 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/1.204, allocations: 22.56 kB / 1.315 GB, free: 1.848 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/1.204, allocations: 34.52 kB / 1.315 GB, free: 1.805 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.204, allocations: 256 / 1.315 GB, free: 1.805 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.394e-05/1.205, allocations: 57.62 kB / 1.315 GB, free: 1.742 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.205, allocations: 4 kB / 1.315 GB, free: 1.738 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.205, allocations: 4 kB / 1.315 GB, free: 1.734 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.205, allocations: 4 kB / 1.315 GB, free: 1.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/1.205, allocations: 4 kB / 1.315 GB, free: 1.727 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.205, allocations: 0 / 1.315 GB, free: 1.727 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/1.205, allocations: 7.938 kB / 1.315 GB, free: 1.719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/1.205, allocations: 4 kB / 1.315 GB, free: 1.715 MB / 1.154 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 0.0001088/1.205, allocations: 117.8 kB / 1.316 GB, free: 1.59 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/1.205, allocations: 8.047 kB / 1.316 GB, free: 1.582 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/1.205, allocations: 7.156 kB / 1.316 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/1.205, allocations: 0 / 1.316 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.205, allocations: 0 / 1.316 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.205, allocations: 3.938 kB / 1.316 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/1.205, allocations: 290.4 kB / 1.316 GB, free: 1.246 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.205, allocations: 0 / 1.316 GB, free: 1.246 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/1.205, allocations: 7.938 kB / 1.316 GB, free: 1.238 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/1.205, allocations: 0 / 1.316 GB, free: 1.238 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/1.205, allocations: 0 / 1.316 GB, free: 1.238 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.205, allocations: 3.938 kB / 1.316 GB, free: 1.234 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.205, allocations: 4.031 kB / 1.316 GB, free: 1.23 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.24e-05/1.205, allocations: 65.06 kB / 1.316 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/1.205, allocations: 0 / 1.316 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.205, allocations: 4 kB / 1.316 GB, free: 1.145 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/1.206, allocations: 3.938 kB / 1.316 GB, free: 1.141 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/1.206, allocations: 7.922 kB / 1.316 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/1.206, allocations: 0 / 1.316 GB, free: 1.133 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.14e-05/1.206, allocations: 87.28 kB / 1.316 GB, free: 1.047 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.1e-08/1.206, allocations: 0 / 1.316 GB, free: 1.047 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001913/1.206, allocations: 4 kB / 1.316 GB, free: 1.043 MB / 1.154 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.0001415/1.206, allocations: 99.28 kB / 1.316 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000107/1.206, allocations: 23.92 kB / 1.316 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.206, allocations: 0 / 1.316 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/1.206, allocations: 0 / 1.316 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/1.206, allocations: 10.77 kB / 1.316 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/1.207, allocations: 114.7 kB / 1.316 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.435e-05/1.207, allocations: 67.59 kB / 1.316 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.124e-05/1.207, allocations: 8.078 kB / 1.316 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/1.207, allocations: 8.5 kB / 1.316 GB, free: 0.668 MB / 1.154 GB Notification: Performance of SimCode: time 3e-07/1.207, allocations: 0 / 1.316 GB, free: 0.668 MB / 1.154 GB Notification: Performance of Templates: time 0.003076/1.21, allocations: 0.5333 MB / 1.317 GB, free: 184 kB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.208932047942653]