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.00172/0.00172, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001577/0.001577, allocations: 161.6 kB / 23.54 MB, free: 0.8945 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.489/1.489, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.891/2.891, allocations: 377.8 MB / 0.6232 GB, free: 8.496 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.573e-06/1.573e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.681e-05, allocations: 3.562 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1945/0.1945, allocations: 130 MB / 0.9377 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001778/0.1947, allocations: 51.81 kB / 0.9378 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.1947, allocations: 0 / 0.9378 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1948, allocations: 7.984 kB / 0.9378 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.893e-05/0.1949, allocations: 11.81 kB / 0.9378 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.1955, allocations: 115.5 kB / 0.9379 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1956, allocations: 31.86 kB / 0.9379 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.1957, allocations: 11.98 kB / 0.938 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.1957, allocations: 15.98 kB / 0.938 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.1958, allocations: 7.984 kB / 0.938 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1958, allocations: 11.92 kB / 0.938 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1961, allocations: 59.81 kB / 0.938 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.1962, allocations: 11.92 kB / 0.9381 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.1962, allocations: 15.98 kB / 0.9381 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1964, allocations: 67.78 kB / 0.9381 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1964, allocations: 0 / 0.9381 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.458e-06/0.1964, allocations: 4 kB / 0.9381 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1964, allocations: 4 kB / 0.9381 GB, free: 15.25 MB / 0.9011 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.0005042/0.1969, allocations: 254.3 kB / 0.9384 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.197, allocations: 8.031 kB / 0.9384 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.1973, allocations: 32.8 kB / 0.9384 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1974, allocations: 113.7 kB / 0.9385 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.1975, allocations: 55.97 kB / 0.9386 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1975, allocations: 4.125 kB / 0.9386 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1977, allocations: 75.33 kB / 0.9387 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1977, allocations: 4 kB / 0.9387 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1977, allocations: 3.984 kB / 0.9387 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1977, allocations: 4 kB / 0.9387 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.1978, allocations: 15.98 kB / 0.9387 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.1982, allocations: 204.6 kB / 0.9389 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.879e-05/0.1983, allocations: 22.56 kB / 0.9389 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.1983, allocations: 4.859 kB / 0.9389 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.1983, allocations: 8 kB / 0.9389 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1984, allocations: 34.56 kB / 0.939 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1984, allocations: 0 / 0.939 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001639/0.1985, allocations: 37.66 kB / 0.939 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1986, allocations: 51.41 kB / 0.939 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1987, allocations: 105.8 kB / 0.9391 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.1988, allocations: 25.7 kB / 0.9392 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.1988, allocations: 92.08 kB / 0.9393 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.1989, allocations: 7.953 kB / 0.9393 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.1989, allocations: 17.72 kB / 0.9393 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1991, allocations: 314.8 kB / 0.9396 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.1991, allocations: 12.06 kB / 0.9396 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.1992, allocations: 26.56 kB / 0.9396 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.633e-05/0.1993, allocations: 26.58 kB / 0.9396 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1993, allocations: 0 / 0.9396 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001108/0.1994, allocations: 57.62 kB / 0.9397 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1994, allocations: 4 kB / 0.9397 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1994, allocations: 3.938 kB / 0.9397 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.1994, allocations: 4.094 kB / 0.9397 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1995, allocations: 8 kB / 0.9397 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1995, allocations: 0 / 0.9397 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.1996, allocations: 12.17 kB / 0.9397 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1996, allocations: 4 kB / 0.9397 GB, free: 13.42 MB / 0.9011 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.0001042/0.1997, allocations: 117.7 kB / 0.9398 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.1997, allocations: 7.953 kB / 0.9398 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.1997, allocations: 3.156 kB / 0.9398 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1997, allocations: 0 / 0.9398 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1997, allocations: 4 kB / 0.9399 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1997, allocations: 4 kB / 0.9399 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.2, allocations: 298.3 kB / 0.9401 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2, allocations: 0 / 0.9401 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.2001, allocations: 0 / 0.9401 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2001, allocations: 4 kB / 0.9401 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.2001, allocations: 0 / 0.9401 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2001, allocations: 3.984 kB / 0.9401 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2001, allocations: 0 / 0.9401 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.519e-05/0.2002, allocations: 61.08 kB / 0.9402 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.2002, allocations: 0 / 0.9402 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.2002, allocations: 4.062 kB / 0.9402 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.2003, allocations: 7.984 kB / 0.9402 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.2003, allocations: 3.938 kB / 0.9402 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2003, allocations: 3.938 kB / 0.9402 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.466e-05/0.2004, allocations: 87.28 kB / 0.9403 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.2004, allocations: 0 / 0.9403 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002004/0.2006, allocations: 4 kB / 0.9403 GB, free: 12.75 MB / 0.9011 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.0001269/0.2007, allocations: 103.2 kB / 0.9404 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.296e-05/0.2008, allocations: 12.06 kB / 0.9404 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2008, allocations: 0 / 0.9404 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.674e-06/0.2008, allocations: 3.938 kB / 0.9404 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.2011, allocations: 19.56 kB / 0.9404 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.2014, allocations: 113.7 kB / 0.9406 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.2014, allocations: 59.3 kB / 0.9406 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 5.479e-05/0.2015, allocations: 12.27 kB / 0.9406 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.2015, allocations: 12.48 kB / 0.9406 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/0.2015, allocations: 4 kB / 0.9406 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of Templates: time 0.003229/0.2048, allocations: 0.553 MB / 0.9412 GB, free: 11.83 MB / 0.9011 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=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.00227882200852]