Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001384/0.001384, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.001621/0.001621, allocations: 162.3 kB / 22.46 MB, free: 5.359 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.528/1.528, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 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.886/2.886, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9814 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.314e-05, allocations: 6.281 kB / 0.9814 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1911/0.1912, allocations: 130.4 MB / 1.109 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.1913, allocations: 47.83 kB / 1.109 GB, free: 9.113 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.1913, allocations: 0 / 1.109 GB, free: 9.113 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.1914, allocations: 7.922 kB / 1.109 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.1915, allocations: 11.92 kB / 1.109 GB, free: 9.094 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000823/0.1923, allocations: 226 kB / 1.109 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.438e-05/0.1924, allocations: 39.8 kB / 1.109 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1925, allocations: 3.984 kB / 1.109 GB, free: 8.832 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.1925, allocations: 19.92 kB / 1.109 GB, free: 8.812 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.1926, allocations: 11.98 kB / 1.109 GB, free: 8.801 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1926, allocations: 0 / 1.109 GB, free: 8.801 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.193, allocations: 163.4 kB / 1.109 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.193, allocations: 8 kB / 1.109 GB, free: 8.633 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.1931, allocations: 15.98 kB / 1.109 GB, free: 8.617 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1933, allocations: 115.6 kB / 1.109 GB, free: 8.504 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1933, allocations: 0 / 1.109 GB, free: 8.504 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1933, allocations: 0 / 1.109 GB, free: 8.504 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1933, allocations: 0 / 1.109 GB, free: 8.504 MB / 1.061 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.000411/0.1937, allocations: 266.3 kB / 1.11 GB, free: 8.215 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1938, allocations: 12.03 kB / 1.11 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.1941, allocations: 20.91 kB / 1.11 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1942, allocations: 113.8 kB / 1.11 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.1943, allocations: 51.97 kB / 1.11 GB, free: 7.984 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1943, allocations: 4.125 kB / 1.11 GB, free: 7.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1944, allocations: 79.31 kB / 1.11 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1945, allocations: 7.984 kB / 1.11 GB, free: 7.883 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1945, allocations: 3.984 kB / 1.11 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1945, allocations: 0 / 1.11 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.1945, allocations: 23.92 kB / 1.11 GB, free: 7.855 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.1949, allocations: 204.6 kB / 1.11 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.1949, allocations: 30.58 kB / 1.11 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.195, allocations: 8.844 kB / 1.11 GB, free: 7.574 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.1951, allocations: 12.06 kB / 1.11 GB, free: 7.562 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1951, allocations: 34.56 kB / 1.11 GB, free: 7.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1951, allocations: 0 / 1.11 GB, free: 7.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002462/0.1954, allocations: 53.62 kB / 1.11 GB, free: 7.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1954, allocations: 55.39 kB / 1.11 GB, free: 7.395 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.1955, allocations: 106 kB / 1.11 GB, free: 7.281 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1955, allocations: 25.7 kB / 1.11 GB, free: 7.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.1956, allocations: 88.03 kB / 1.111 GB, free: 7.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.1956, allocations: 15.94 kB / 1.111 GB, free: 7.145 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1957, allocations: 13.72 kB / 1.111 GB, free: 7.125 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1958, allocations: 318.8 kB / 1.111 GB, free: 6.805 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.1958, allocations: 4 kB / 1.111 GB, free: 6.801 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.1959, allocations: 22.56 kB / 1.111 GB, free: 6.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.444e-05/0.1959, allocations: 34.52 kB / 1.111 GB, free: 6.727 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1959, allocations: 0 / 1.111 GB, free: 6.727 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.49e-05/0.196, allocations: 57.58 kB / 1.111 GB, free: 6.664 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1961, allocations: 11.94 kB / 1.111 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1961, allocations: 0 / 1.111 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1961, allocations: 0 / 1.111 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.1961, allocations: 12 kB / 1.111 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1961, allocations: 0 / 1.111 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.1962, allocations: 0 / 1.111 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.1962, allocations: 4 kB / 1.111 GB, free: 6.637 MB / 1.061 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.758e-05/0.1963, allocations: 125.8 kB / 1.111 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1963, allocations: 0 / 1.111 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.1963, allocations: 7.312 kB / 1.111 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1963, allocations: 0 / 1.111 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1963, allocations: 3.938 kB / 1.111 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1963, allocations: 4 kB / 1.111 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.1967, allocations: 311.1 kB / 1.111 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1967, allocations: 0 / 1.111 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.1967, allocations: 7.984 kB / 1.111 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1967, allocations: 4.062 kB / 1.111 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1967, allocations: 0 / 1.111 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1967, allocations: 4 kB / 1.111 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1967, allocations: 0 / 1.111 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.532e-05/0.1968, allocations: 69.94 kB / 1.111 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.1968, allocations: 7.984 kB / 1.111 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1968, allocations: 0 / 1.111 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.1969, allocations: 4 kB / 1.112 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.1969, allocations: 7.875 kB / 1.112 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1969, allocations: 4 kB / 1.112 GB, free: 6.016 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.197, allocations: 91.56 kB / 1.112 GB, free: 5.926 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.197, allocations: 0 / 1.112 GB, free: 5.926 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002058/0.1972, allocations: 4 kB / 1.112 GB, free: 5.922 MB / 1.061 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.0001346/0.1973, allocations: 103.8 kB / 1.112 GB, free: 5.812 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.1974, allocations: 15.92 kB / 1.112 GB, free: 5.797 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1974, allocations: 0 / 1.112 GB, free: 5.797 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.1974, allocations: 4.188 kB / 1.112 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.1977, allocations: 18.47 kB / 1.112 GB, free: 5.777 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.198, allocations: 121.5 kB / 1.112 GB, free: 5.629 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.805e-05/0.198, allocations: 59.34 kB / 1.112 GB, free: 5.551 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.1981, allocations: 8 kB / 1.112 GB, free: 5.543 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.1981, allocations: 12.5 kB / 1.112 GB, free: 5.531 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.1981, allocations: 0 / 1.112 GB, free: 5.531 MB / 1.061 GB Notification: Performance of Templates: time 0.003252/0.2014, allocations: 0.6016 MB / 1.113 GB, free: 4.938 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.501390781253576]