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.001417/0.001417, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001611/0.001611, allocations: 161.7 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.519/1.519, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.774/2.774, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7864 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.693e-05, allocations: 2.906 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1964/0.1965, allocations: 130 MB / 0.9133 GB, free: 9.293 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001555/0.1966, allocations: 55.8 kB / 0.9134 GB, free: 9.238 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.1966, allocations: 0 / 0.9134 GB, free: 9.238 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1968, allocations: 7.922 kB / 0.9134 GB, free: 9.23 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.1968, allocations: 3.938 kB / 0.9134 GB, free: 9.227 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.1974, allocations: 119.5 kB / 0.9135 GB, free: 9.109 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.1975, allocations: 31.86 kB / 0.9135 GB, free: 9.078 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.1975, allocations: 3.984 kB / 0.9135 GB, free: 9.074 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.1976, allocations: 19.98 kB / 0.9135 GB, free: 9.055 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.1976, allocations: 15.92 kB / 0.9135 GB, free: 9.039 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1977, allocations: 3.984 kB / 0.9136 GB, free: 9.035 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.1979, allocations: 67.75 kB / 0.9136 GB, free: 8.969 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.198, allocations: 11.92 kB / 0.9136 GB, free: 8.957 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.198, allocations: 11.92 kB / 0.9136 GB, free: 8.945 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1982, allocations: 71.84 kB / 0.9137 GB, free: 8.875 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1982, allocations: 0 / 0.9137 GB, free: 8.875 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1982, allocations: 4 kB / 0.9137 GB, free: 8.871 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1982, allocations: 0 / 0.9137 GB, free: 8.871 MB / 0.823 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.0004554/0.1987, allocations: 258.3 kB / 0.914 GB, free: 8.59 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1987, allocations: 12.03 kB / 0.914 GB, free: 8.578 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.199, allocations: 24.81 kB / 0.914 GB, free: 8.555 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1991, allocations: 109.8 kB / 0.9141 GB, free: 8.422 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/0.1992, allocations: 51.97 kB / 0.9141 GB, free: 8.359 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1992, allocations: 16.06 kB / 0.9142 GB, free: 8.344 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1994, allocations: 67.39 kB / 0.9142 GB, free: 8.266 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1994, allocations: 0 / 0.9142 GB, free: 8.266 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1994, allocations: 4 kB / 0.9142 GB, free: 8.262 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.1994, allocations: 7.984 kB / 0.9142 GB, free: 8.254 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.1995, allocations: 15.98 kB / 0.9143 GB, free: 8.238 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1999, allocations: 204.6 kB / 0.9144 GB, free: 8.008 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.1999, allocations: 18.52 kB / 0.9145 GB, free: 7.98 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.1999, allocations: 12.92 kB / 0.9145 GB, free: 7.965 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/0.1999, allocations: 0 / 0.9145 GB, free: 7.965 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.2, allocations: 34.56 kB / 0.9145 GB, free: 7.922 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2, allocations: 0 / 0.9145 GB, free: 7.922 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.2001, allocations: 33.7 kB / 0.9145 GB, free: 7.883 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.2002, allocations: 51.41 kB / 0.9146 GB, free: 7.82 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2003, allocations: 117.7 kB / 0.9147 GB, free: 7.695 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2003, allocations: 25.7 kB / 0.9147 GB, free: 7.664 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.2004, allocations: 92.09 kB / 0.9148 GB, free: 7.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.2004, allocations: 7.938 kB / 0.9148 GB, free: 7.562 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.2005, allocations: 13.72 kB / 0.9148 GB, free: 7.543 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2006, allocations: 318.8 kB / 0.9151 GB, free: 7.223 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.2007, allocations: 8.125 kB / 0.9151 GB, free: 7.215 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/0.2007, allocations: 26.56 kB / 0.9152 GB, free: 7.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.14e-05/0.2007, allocations: 26.52 kB / 0.9152 GB, free: 7.145 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2008, allocations: 4 kB / 0.9152 GB, free: 7.141 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/0.2009, allocations: 57.62 kB / 0.9153 GB, free: 7.078 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2009, allocations: 4 kB / 0.9153 GB, free: 7.074 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2009, allocations: 0 / 0.9153 GB, free: 7.074 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2009, allocations: 8.094 kB / 0.9153 GB, free: 7.066 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.201, allocations: 7.938 kB / 0.9153 GB, free: 7.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.201, allocations: 0 / 0.9153 GB, free: 7.059 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.201, allocations: 4 kB / 0.9153 GB, free: 7.055 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.201, allocations: 96 / 0.9153 GB, free: 7.055 MB / 0.823 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.0001092/0.2011, allocations: 117.8 kB / 0.9154 GB, free: 6.93 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.2012, allocations: 7.938 kB / 0.9154 GB, free: 6.922 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.2012, allocations: 11.16 kB / 0.9154 GB, free: 6.91 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2012, allocations: 256 / 0.9154 GB, free: 6.91 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2012, allocations: 0 / 0.9154 GB, free: 6.91 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2012, allocations: 8 kB / 0.9154 GB, free: 6.902 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.2016, allocations: 302.2 kB / 0.9157 GB, free: 6.566 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2016, allocations: 0 / 0.9157 GB, free: 6.566 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.2016, allocations: 4 kB / 0.9157 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2016, allocations: 0 / 0.9157 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.2016, allocations: 0 / 0.9157 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2016, allocations: 0 / 0.9157 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2016, allocations: 0 / 0.9157 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.02e-05/0.2017, allocations: 65 kB / 0.9158 GB, free: 6.48 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.2017, allocations: 4 kB / 0.9158 GB, free: 6.477 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2018, allocations: 8.062 kB / 0.9158 GB, free: 6.469 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.2018, allocations: 3.984 kB / 0.9158 GB, free: 6.465 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.2019, allocations: 0 / 0.9158 GB, free: 6.465 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2019, allocations: 7.938 kB / 0.9158 GB, free: 6.457 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.955e-05/0.2019, allocations: 79.28 kB / 0.9159 GB, free: 6.379 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2019, allocations: 0 / 0.9159 GB, free: 6.379 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002049/0.2021, allocations: 12 kB / 0.9159 GB, free: 6.367 MB / 0.823 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.0001209/0.2023, allocations: 99.23 kB / 0.916 GB, free: 6.262 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.563e-05/0.2023, allocations: 16 kB / 0.916 GB, free: 6.246 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2023, allocations: 0 / 0.916 GB, free: 6.246 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.754e-06/0.2023, allocations: 4 kB / 0.916 GB, free: 6.242 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2026, allocations: 11.98 kB / 0.916 GB, free: 6.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.2029, allocations: 108.7 kB / 0.9161 GB, free: 6.098 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.203, allocations: 59.3 kB / 0.9162 GB, free: 6.02 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.633e-05/0.203, allocations: 12.17 kB / 0.9162 GB, free: 6.008 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.203, allocations: 16.44 kB / 0.9162 GB, free: 5.988 MB / 0.823 GB Notification: Performance of SimCode: time 4.61e-07/0.203, allocations: 0 / 0.9162 GB, free: 5.988 MB / 0.823 GB Notification: Performance of Templates: time 0.00308/0.2061, allocations: 0.5622 MB / 0.9167 GB, free: 5.449 MB / 0.823 GB " [Timeout remaining time 300] 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/jenkins/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: 7.820148298051208]