Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001456/0.001456, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001629/0.001629, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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 3.163/3.163, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.8775 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.406e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1891/0.1892, allocations: 130.4 MB / 1.005 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.1893, allocations: 59.73 kB / 1.005 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.1894, allocations: 0 / 1.005 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.1895, allocations: 0 / 1.005 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.1896, allocations: 15.86 kB / 1.005 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.1905, allocations: 207.1 kB / 1.005 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.265e-05/0.1905, allocations: 39.84 kB / 1.005 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.1906, allocations: 3.984 kB / 1.005 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.1906, allocations: 15.98 kB / 1.005 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.1907, allocations: 15.92 kB / 1.005 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1907, allocations: 4 kB / 1.005 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.1912, allocations: 163.3 kB / 1.005 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.1913, allocations: 11.98 kB / 1.005 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.1913, allocations: 7.984 kB / 1.005 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1917, allocations: 123.6 kB / 1.006 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1917, allocations: 0 / 1.006 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1917, allocations: 0 / 1.006 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.1917, allocations: 0 / 1.006 GB, free: 3.023 MB / 0.9636 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.0005101/0.1922, allocations: 270.2 kB / 1.006 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1922, allocations: 8.031 kB / 1.006 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.1926, allocations: 28.91 kB / 1.006 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1928, allocations: 105.7 kB / 1.006 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/0.1928, allocations: 55.97 kB / 1.006 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1929, allocations: 12.11 kB / 1.006 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.193, allocations: 75.33 kB / 1.006 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.193, allocations: 0 / 1.006 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.193, allocations: 0 / 1.006 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.1931, allocations: 11.98 kB / 1.006 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.844e-05/0.1931, allocations: 15.98 kB / 1.006 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1935, allocations: 208.5 kB / 1.006 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.1936, allocations: 26.58 kB / 1.006 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.1936, allocations: 4.859 kB / 1.006 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.1938, allocations: 23.98 kB / 1.006 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.1938, allocations: 34.56 kB / 1.006 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1938, allocations: 0 / 1.006 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002923/0.1941, allocations: 49.69 kB / 1.006 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1942, allocations: 51.41 kB / 1.006 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1943, allocations: 101.8 kB / 1.007 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1943, allocations: 29.7 kB / 1.007 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1944, allocations: 88.22 kB / 1.007 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1944, allocations: 15.88 kB / 1.007 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.1945, allocations: 21.66 kB / 1.007 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1946, allocations: 318.8 kB / 1.007 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.1946, allocations: 7.938 kB / 1.007 GB, free: 1.309 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.1947, allocations: 22.58 kB / 1.007 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.1947, allocations: 30.56 kB / 1.007 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1947, allocations: 4 kB / 1.007 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.419e-05/0.1948, allocations: 53.64 kB / 1.007 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1949, allocations: 10.44 kB / 1.007 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1949, allocations: 0 / 1.007 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.1949, allocations: 7.984 kB / 1.007 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.1949, allocations: 4 kB / 1.007 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1949, allocations: 0 / 1.007 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.195, allocations: 7.953 kB / 1.007 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.195, allocations: 3.984 kB / 1.007 GB, free: 1.145 MB / 0.9636 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.0001012/0.1951, allocations: 117.8 kB / 1.007 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.1951, allocations: 4.094 kB / 1.007 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.1952, allocations: 11.31 kB / 1.007 GB, free: 1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1952, allocations: 0 / 1.007 GB, free: 1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1952, allocations: 3.984 kB / 1.007 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1952, allocations: 0 / 1.007 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.1955, allocations: 315.2 kB / 1.008 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1955, allocations: 0 / 1.008 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.1955, allocations: 0 / 1.008 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1955, allocations: 4 kB / 1.008 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.1955, allocations: 0 / 1.008 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1955, allocations: 4.062 kB / 1.008 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1955, allocations: 0 / 1.008 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.1957, allocations: 81.81 kB / 1.008 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.1957, allocations: 4.281 kB / 1.008 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1957, allocations: 0 / 1.008 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1958, allocations: 7.984 kB / 1.008 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.1958, allocations: 7.922 kB / 1.008 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1958, allocations: 0 / 1.008 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.1959, allocations: 83.28 kB / 1.008 GB, free: 444 kB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1959, allocations: 0 / 1.008 GB, free: 444 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000216/0.1961, allocations: 12.03 kB / 1.008 GB, free: 432 kB / 0.9636 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.0001558/0.1962, allocations: 107.1 kB / 1.008 GB, free: 316 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.572e-05/0.1963, allocations: 19.94 kB / 1.008 GB, free: 296 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1963, allocations: 0 / 1.008 GB, free: 296 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.1963, allocations: 4 kB / 1.008 GB, free: 292 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.1966, allocations: 12.3 kB / 1.008 GB, free: 280 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.1969, allocations: 129.3 kB / 1.008 GB, free: 120 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.21e-05/0.197, allocations: 59.34 kB / 1.008 GB, free: 40 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.074e-05/0.1971, allocations: 8 kB / 1.008 GB, free: 32 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.1971, allocations: 12.5 kB / 1.008 GB, free: 20 kB / 0.9636 GB Notification: Performance of SimCode: time 4.2e-07/0.1971, allocations: 0 / 1.008 GB, free: 20 kB / 0.9636 GB Notification: Performance of Templates: time 0.003561/0.2007, allocations: 0.6958 MB / 1.009 GB, free: 15.34 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.535832328954712]