Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001438/0.001438, 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.001615/0.001615, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.837/2.837, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.24e-05, allocations: 3.297 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1914/0.1914, allocations: 130.4 MB / 0.9137 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0001689/0.1916, allocations: 59.73 kB / 0.9137 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.1916, allocations: 0 / 0.9137 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1917, allocations: 11.94 kB / 0.9137 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.1918, allocations: 3.984 kB / 0.9137 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008388/0.1926, allocations: 219 kB / 0.9139 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 9.425e-05/0.1927, allocations: 31.84 kB / 0.914 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.1928, allocations: 4 kB / 0.914 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.1928, allocations: 15.98 kB / 0.914 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.1929, allocations: 19.91 kB / 0.914 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1929, allocations: 0 / 0.914 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.1933, allocations: 163.4 kB / 0.9142 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.1933, allocations: 11.92 kB / 0.9142 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.1934, allocations: 7.984 kB / 0.9142 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1936, allocations: 123.6 kB / 0.9143 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1936, allocations: 0 / 0.9143 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1936, allocations: 0 / 0.9143 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1936, allocations: 0 / 0.9143 GB, free: 9.371 MB / 0.8698 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.0004474/0.1941, allocations: 262.3 kB / 0.9146 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1941, allocations: 8.031 kB / 0.9146 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.1945, allocations: 36.8 kB / 0.9146 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1946, allocations: 109.8 kB / 0.9147 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.1947, allocations: 51.97 kB / 0.9148 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1947, allocations: 12.12 kB / 0.9148 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1949, allocations: 75.33 kB / 0.9148 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1949, allocations: 0 / 0.9148 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1949, allocations: 0 / 0.9148 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1949, allocations: 7.984 kB / 0.9148 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.195, allocations: 19.98 kB / 0.9149 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.1953, allocations: 208.5 kB / 0.9151 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.206e-05/0.1954, allocations: 22.52 kB / 0.9151 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.1954, allocations: 12.92 kB / 0.9151 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.1955, allocations: 15.98 kB / 0.9151 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1956, allocations: 34.56 kB / 0.9151 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1956, allocations: 0 / 0.9151 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002681/0.1959, allocations: 53.64 kB / 0.9152 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1959, allocations: 51.41 kB / 0.9152 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.196, allocations: 109.8 kB / 0.9154 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.196, allocations: 25.7 kB / 0.9154 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.1961, allocations: 92.2 kB / 0.9155 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.1961, allocations: 11.89 kB / 0.9155 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.1962, allocations: 13.72 kB / 0.9155 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1963, allocations: 326.7 kB / 0.9158 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.1964, allocations: 3.984 kB / 0.9158 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.1964, allocations: 22.58 kB / 0.9158 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.1965, allocations: 26.58 kB / 0.9159 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1965, allocations: 0 / 0.9159 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/0.1966, allocations: 65.56 kB / 0.9159 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1966, allocations: 9.406 kB / 0.9159 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1966, allocations: 0 / 0.9159 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1966, allocations: 0 / 0.9159 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.1967, allocations: 11.98 kB / 0.9159 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1967, allocations: 0 / 0.9159 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.1967, allocations: 0 / 0.9159 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1967, allocations: 4 kB / 0.9159 GB, free: 7.496 MB / 0.8698 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 9.682e-05/0.1968, allocations: 113.8 kB / 0.916 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1968, allocations: 96 / 0.916 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.1969, allocations: 11.31 kB / 0.9161 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1969, allocations: 0 / 0.9161 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1969, allocations: 4 kB / 0.9161 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1969, allocations: 0 / 0.9161 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.1972, allocations: 323.1 kB / 0.9164 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1972, allocations: 0 / 0.9164 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.1973, allocations: 4 kB / 0.9164 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1973, allocations: 0 / 0.9164 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1973, allocations: 4 kB / 0.9164 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1973, allocations: 0 / 0.9164 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1973, allocations: 8 kB / 0.9164 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1974, allocations: 73.92 kB / 0.9165 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.1974, allocations: 0 / 0.9165 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1974, allocations: 4 kB / 0.9165 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.1975, allocations: 0 / 0.9165 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.1975, allocations: 11.92 kB / 0.9165 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1975, allocations: 0 / 0.9165 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.1976, allocations: 79.28 kB / 0.9165 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1976, allocations: 0 / 0.9165 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002139/0.1978, allocations: 12 kB / 0.9166 GB, free: 6.781 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000147/0.1979, allocations: 103.6 kB / 0.9167 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.198, allocations: 19.86 kB / 0.9167 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.198, allocations: 4 kB / 0.9167 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.198, allocations: 7.938 kB / 0.9167 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1983, allocations: 16.28 kB / 0.9167 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.1986, allocations: 121.6 kB / 0.9168 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.1987, allocations: 63.33 kB / 0.9169 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.747e-05/0.1987, allocations: 4 kB / 0.9169 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.1988, allocations: 12.5 kB / 0.9169 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of SimCode: time 4.11e-07/0.1988, allocations: 4 kB / 0.9169 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of Templates: time 0.003343/0.2021, allocations: 0.6925 MB / 0.9176 GB, free: 5.695 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.064862660947256]