Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001832/0.001832, allocations: 80.28 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.002185/0.002185, allocations: 164 kB / 22.46 MB, free: 5.355 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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 2.991/2.991, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 1 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.69e-05, allocations: 2.281 kB / 1 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002344/0.002371, allocations: 1.28 MB / 1.001 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1863/0.1887, allocations: 129.1 MB / 1.127 GB, free: 4.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.1887, allocations: 0 / 1.127 GB, free: 4.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.1888, allocations: 4 kB / 1.127 GB, free: 4.477 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.169e-05/0.1888, allocations: 0 / 1.127 GB, free: 4.477 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.1893, allocations: 103.4 kB / 1.128 GB, free: 4.375 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.567e-05/0.1894, allocations: 31.86 kB / 1.128 GB, free: 4.344 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.1894, allocations: 3.984 kB / 1.128 GB, free: 4.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.1895, allocations: 23.97 kB / 1.128 GB, free: 4.316 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.1895, allocations: 11.98 kB / 1.128 GB, free: 4.305 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1895, allocations: 7.922 kB / 1.128 GB, free: 4.297 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.1898, allocations: 75.77 kB / 1.128 GB, free: 4.223 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.1898, allocations: 7.984 kB / 1.128 GB, free: 4.215 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1899, allocations: 11.98 kB / 1.128 GB, free: 4.203 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.19, allocations: 71.75 kB / 1.128 GB, free: 4.133 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1901, allocations: 7.938 kB / 1.128 GB, free: 4.125 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.71e-07/0.1901, allocations: 0 / 1.128 GB, free: 4.125 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.1901, allocations: 0 / 1.128 GB, free: 4.125 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004385/0.1905, allocations: 278.1 kB / 1.128 GB, free: 3.828 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1905, allocations: 11.98 kB / 1.128 GB, free: 3.816 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.1907, allocations: 12.89 kB / 1.128 GB, free: 3.805 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1909, allocations: 109.7 kB / 1.128 GB, free: 3.672 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1909, allocations: 384 / 1.128 GB, free: 3.672 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.1909, allocations: 12.36 kB / 1.128 GB, free: 3.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1911, allocations: 138.7 kB / 1.128 GB, free: 3.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1911, allocations: 0 / 1.128 GB, free: 3.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1911, allocations: 4 kB / 1.128 GB, free: 3.496 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1911, allocations: 0 / 1.128 GB, free: 3.496 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.1912, allocations: 19.92 kB / 1.128 GB, free: 3.477 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1913, allocations: 109.3 kB / 1.128 GB, free: 3.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1914, allocations: 42.56 kB / 1.128 GB, free: 3.289 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.1915, allocations: 16.86 kB / 1.128 GB, free: 3.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.1915, allocations: 0 / 1.128 GB, free: 3.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1915, allocations: 34.5 kB / 1.129 GB, free: 3.227 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1915, allocations: 4 kB / 1.129 GB, free: 3.223 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0008329/0.1924, allocations: 313.1 kB / 1.129 GB, free: 2.883 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1924, allocations: 51.41 kB / 1.129 GB, free: 2.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.1925, allocations: 93.86 kB / 1.129 GB, free: 2.719 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1925, allocations: 29.7 kB / 1.129 GB, free: 2.684 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.1925, allocations: 80.14 kB / 1.129 GB, free: 2.602 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.1926, allocations: 39.64 kB / 1.129 GB, free: 2.562 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.1926, allocations: 29.7 kB / 1.129 GB, free: 2.527 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1928, allocations: 323 kB / 1.129 GB, free: 2.203 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.507e-05/0.1928, allocations: 19.98 kB / 1.129 GB, free: 2.184 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.1929, allocations: 37.7 kB / 1.129 GB, free: 2.141 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.193, allocations: 62.19 kB / 1.13 GB, free: 2.074 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.193, allocations: 0 / 1.13 GB, free: 2.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001543/0.1932, allocations: 97.56 kB / 1.13 GB, free: 1.973 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1932, allocations: 7.984 kB / 1.13 GB, free: 1.965 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1932, allocations: 4 kB / 1.13 GB, free: 1.961 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.1932, allocations: 7.984 kB / 1.13 GB, free: 1.953 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1933, allocations: 19.94 kB / 1.13 GB, free: 1.934 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1933, allocations: 4 kB / 1.13 GB, free: 1.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.1934, allocations: 8 kB / 1.13 GB, free: 1.922 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1934, allocations: 7.938 kB / 1.13 GB, free: 1.914 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.681e-05/0.1935, allocations: 114.4 kB / 1.13 GB, free: 1.793 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.1935, allocations: 7.938 kB / 1.13 GB, free: 1.785 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.1935, allocations: 11.97 kB / 1.13 GB, free: 1.773 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1935, allocations: 4 kB / 1.13 GB, free: 1.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1935, allocations: 0 / 1.13 GB, free: 1.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1935, allocations: 0 / 1.13 GB, free: 1.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1937, allocations: 113.3 kB / 1.13 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1937, allocations: 0 / 1.13 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1938, allocations: 35.88 kB / 1.13 GB, free: 1.594 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1938, allocations: 0 / 1.13 GB, free: 1.594 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1938, allocations: 0 / 1.13 GB, free: 1.594 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1938, allocations: 3.938 kB / 1.13 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1938, allocations: 0 / 1.13 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1941, allocations: 138.1 kB / 1.13 GB, free: 1.438 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.1941, allocations: 11.89 kB / 1.13 GB, free: 1.426 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1941, allocations: 8.031 kB / 1.13 GB, free: 1.418 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.1942, allocations: 4 kB / 1.13 GB, free: 1.414 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.1942, allocations: 7.984 kB / 1.13 GB, free: 1.406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1942, allocations: 4 kB / 1.13 GB, free: 1.402 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.1943, allocations: 83.22 kB / 1.13 GB, free: 1.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.1943, allocations: 0 / 1.13 GB, free: 1.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002051/0.1945, allocations: 16 kB / 1.13 GB, free: 1.305 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001116/0.1946, allocations: 99.25 kB / 1.13 GB, free: 1.199 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1947, allocations: 51.91 kB / 1.13 GB, free: 1.148 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1947, allocations: 4 kB / 1.13 GB, free: 1.145 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.1948, allocations: 20 kB / 1.13 GB, free: 1.125 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.195, allocations: 10.03 kB / 1.13 GB, free: 1.117 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.1955, allocations: 264.6 kB / 1.131 GB, free: 0.832 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.877e-05/0.1956, allocations: 67.34 kB / 1.131 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.26e-05/0.1957, allocations: 8.734 kB / 1.131 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.1957, allocations: 16.5 kB / 1.131 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of SimCode: time 4e-07/0.1957, allocations: 0 / 1.131 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of Templates: time 0.0035/0.1992, allocations: 0.6345 MB / 1.131 GB, free: 104 kB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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: 9.128859583288431]