Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001375/0.001375, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001641/0.001641, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 2.091/2.091, allocations: 429.5 MB / 0.6743 GB, free: 3.93 MB / 0.6355 GB " [Timeout remaining time 177] 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.117e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.189/0.189, allocations: 141 MB / 1.017 GB, free: 8.5 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.1892, allocations: 51.73 kB / 1.017 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.1892, allocations: 0 / 1.017 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1894, allocations: 7.938 kB / 1.017 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.1895, allocations: 15.92 kB / 1.017 GB, free: 8.426 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.19, allocations: 119.6 kB / 1.017 GB, free: 8.309 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 9.528e-05/0.1901, allocations: 35.73 kB / 1.017 GB, free: 8.277 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.1901, allocations: 8 kB / 1.017 GB, free: 8.27 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.1902, allocations: 23.91 kB / 1.017 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.1902, allocations: 7.984 kB / 1.017 GB, free: 8.238 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1903, allocations: 4 kB / 1.017 GB, free: 8.234 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.1905, allocations: 79.67 kB / 1.017 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.1905, allocations: 7.984 kB / 1.017 GB, free: 8.148 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.1905, allocations: 12 kB / 1.017 GB, free: 8.137 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1907, allocations: 67.78 kB / 1.018 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1907, allocations: 0 / 1.018 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.777e-06/0.1907, allocations: 4 kB / 1.018 GB, free: 8.066 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1907, allocations: 0 / 1.018 GB, free: 8.066 MB / 0.9792 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.0003293/0.191, allocations: 368.5 kB / 1.018 GB, free: 7.672 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.191, allocations: 8.031 kB / 1.018 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1912, allocations: 32.84 kB / 1.018 GB, free: 7.633 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.916e-05/0.1913, allocations: 112.6 kB / 1.018 GB, free: 7.496 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.1914, allocations: 51.97 kB / 1.018 GB, free: 7.434 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.1914, allocations: 4.125 kB / 1.018 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1915, allocations: 80.09 kB / 1.018 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1915, allocations: 0 / 1.018 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1915, allocations: 0 / 1.018 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.1915, allocations: 7.984 kB / 1.018 GB, free: 7.328 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.1915, allocations: 4 kB / 1.018 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.1918, allocations: 256.3 kB / 1.018 GB, free: 7.047 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.298e-05/0.1918, allocations: 23.06 kB / 1.018 GB, free: 7.012 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.149e-05/0.1918, allocations: 7.688 kB / 1.018 GB, free: 7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.1918, allocations: 4.062 kB / 1.018 GB, free: 6.996 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1918, allocations: 37.39 kB / 1.018 GB, free: 6.949 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1918, allocations: 0 / 1.018 GB, free: 6.949 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.000109/0.192, allocations: 33.64 kB / 1.019 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.192, allocations: 59.39 kB / 1.019 GB, free: 6.84 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.1921, allocations: 166 kB / 1.019 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1921, allocations: 25.7 kB / 1.019 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1921, allocations: 142.8 kB / 1.019 GB, free: 6.484 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.1921, allocations: 7.938 kB / 1.019 GB, free: 6.477 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1922, allocations: 23.36 kB / 1.019 GB, free: 6.445 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1923, allocations: 496.1 kB / 1.019 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.1923, allocations: 4 kB / 1.019 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.1923, allocations: 31.05 kB / 1.019 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.1923, allocations: 43 kB / 1.019 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1923, allocations: 0 / 1.019 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.334e-05/0.1924, allocations: 53.58 kB / 1.02 GB, free: 5.789 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1924, allocations: 8 kB / 1.02 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1924, allocations: 0 / 1.02 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1924, allocations: 0 / 1.02 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.387e-05/0.1925, allocations: 8 kB / 1.02 GB, free: 5.773 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.1925, allocations: 0 / 1.02 GB, free: 5.773 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.1925, allocations: 0 / 1.02 GB, free: 5.773 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1925, allocations: 4 kB / 1.02 GB, free: 5.77 MB / 0.9792 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 6.723e-05/0.1926, allocations: 168.5 kB / 1.02 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.1926, allocations: 4 kB / 1.02 GB, free: 5.59 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.1926, allocations: 7.141 kB / 1.02 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1926, allocations: 0 / 1.02 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1926, allocations: 256 / 1.02 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1926, allocations: 0 / 1.02 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.1928, allocations: 381 kB / 1.02 GB, free: 5.168 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1928, allocations: 3.984 kB / 1.02 GB, free: 5.164 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.1928, allocations: 4 kB / 1.02 GB, free: 5.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1928, allocations: 0 / 1.02 GB, free: 5.16 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.1929, allocations: 4.031 kB / 1.02 GB, free: 5.156 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1929, allocations: 0 / 1.02 GB, free: 5.156 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1929, allocations: 0 / 1.02 GB, free: 5.156 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.019e-05/0.1929, allocations: 76.38 kB / 1.02 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.1929, allocations: 3.984 kB / 1.02 GB, free: 5.055 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1929, allocations: 11.98 kB / 1.02 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.193, allocations: 0 / 1.02 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.193, allocations: 0 / 1.02 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.193, allocations: 3.938 kB / 1.02 GB, free: 5.039 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.1931, allocations: 123.2 kB / 1.02 GB, free: 4.918 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1931, allocations: 4.031 kB / 1.02 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001175/0.1932, allocations: 8 kB / 1.02 GB, free: 4.906 MB / 0.9792 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 8.871e-05/0.1933, allocations: 99.23 kB / 1.02 GB, free: 4.801 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 6.363e-05/0.1933, allocations: 27.55 kB / 1.02 GB, free: 4.77 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1933, allocations: 0 / 1.02 GB, free: 4.77 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-06/0.1933, allocations: 11.69 kB / 1.02 GB, free: 4.754 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.1935, allocations: 12.23 kB / 1.02 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.1938, allocations: 118.3 kB / 1.021 GB, free: 4.598 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.745e-05/0.1939, allocations: 55.36 kB / 1.021 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.1939, allocations: 7.984 kB / 1.021 GB, free: 4.516 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.194, allocations: 82.19 kB / 1.021 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of SimCode: time 1.012e-06/0.194, allocations: 4 kB / 1.021 GB, free: 4.43 MB / 0.9792 GB Notification: Performance of Templates: time 0.002066/0.196, allocations: 0.6335 MB / 1.021 GB, free: 3.848 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.758372356183827]