Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.001679/0.001679, 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.001713/0.001713, allocations: 161.7 kB / 23.55 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.491/1.491, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.814/2.814, allocations: 377.8 MB / 0.6232 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.194e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003897/0.003929, allocations: 1.499 MB / 0.8123 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1889/0.1928, allocations: 115.8 MB / 0.9254 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.1929, allocations: 0 / 0.9254 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.1929, allocations: 3.938 kB / 0.9254 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.175e-05/0.193, allocations: 11.92 kB / 0.9254 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1933, allocations: 59.67 kB / 0.9255 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1934, allocations: 55.78 kB / 0.9255 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.1935, allocations: 23.97 kB / 0.9255 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.1936, allocations: 23.92 kB / 0.9256 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.1936, allocations: 19.97 kB / 0.9256 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1936, allocations: 4 kB / 0.9256 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.1937, allocations: 19.94 kB / 0.9256 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.1938, allocations: 7.984 kB / 0.9256 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1938, allocations: 19.94 kB / 0.9256 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.194, allocations: 63.78 kB / 0.9257 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.194, allocations: 4 kB / 0.9257 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.153e-06/0.194, allocations: 3.938 kB / 0.9257 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.194, allocations: 0 / 0.9257 GB, free: 12.1 MB / 0.8855 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.0005756/0.1946, allocations: 302.1 kB / 0.926 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1946, allocations: 8.031 kB / 0.926 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1946, allocations: 8.938 kB / 0.926 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1948, allocations: 113.7 kB / 0.9261 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1948, allocations: 384 / 0.9261 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1948, allocations: 4.375 kB / 0.9261 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.1951, allocations: 78.19 kB / 0.9262 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1951, allocations: 4.188 kB / 0.9262 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1951, allocations: 4.375 kB / 0.9262 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1951, allocations: 4.375 kB / 0.9262 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.1954, allocations: 71.8 kB / 0.9263 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1958, allocations: 212.5 kB / 0.9265 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.196, allocations: 62.53 kB / 0.9265 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1962, allocations: 32.92 kB / 0.9266 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.1963, allocations: 19.92 kB / 0.9266 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1964, allocations: 34.5 kB / 0.9266 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 5.721e-06/0.1964, allocations: 3.984 kB / 0.9266 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0006146/0.197, allocations: 137.6 kB / 0.9267 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.197, allocations: 51.41 kB / 0.9268 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1971, allocations: 109.8 kB / 0.9269 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1972, allocations: 25.7 kB / 0.9269 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1972, allocations: 92.08 kB / 0.927 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1972, allocations: 11.89 kB / 0.927 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.1973, allocations: 13.72 kB / 0.927 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1975, allocations: 318.8 kB / 0.9273 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.1976, allocations: 35.95 kB / 0.9274 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1978, allocations: 31.97 kB / 0.9274 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.1981, allocations: 64.78 kB / 0.9275 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1981, allocations: 4 kB / 0.9275 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003568/0.1984, allocations: 105.5 kB / 0.9276 GB, free: 10 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1984, allocations: 4 kB / 0.9276 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1984, allocations: 0 / 0.9276 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1985, allocations: 3.984 kB / 0.9276 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1986, allocations: 23.92 kB / 0.9276 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1986, allocations: 0 / 0.9276 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.1987, allocations: 19.92 kB / 0.9276 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1987, allocations: 0 / 0.9276 GB, free: 9.949 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001058/0.1988, allocations: 109.8 kB / 0.9277 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.1988, allocations: 11.89 kB / 0.9277 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.1992, allocations: 105.6 kB / 0.9278 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1992, allocations: 7.984 kB / 0.9278 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1992, allocations: 4 kB / 0.9278 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1992, allocations: 0 / 0.9278 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1994, allocations: 113.3 kB / 0.928 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1994, allocations: 0 / 0.928 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1995, allocations: 15.98 kB / 0.928 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1995, allocations: 0 / 0.928 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.1995, allocations: 3.938 kB / 0.928 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1995, allocations: 3.938 kB / 0.928 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1995, allocations: 0 / 0.928 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.2, allocations: 199.5 kB / 0.9282 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.2, allocations: 3.953 kB / 0.9282 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2, allocations: 7.938 kB / 0.9282 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2001, allocations: 7.984 kB / 0.9282 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.2001, allocations: 8.406 kB / 0.9282 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2002, allocations: 4 kB / 0.9282 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.471e-05/0.2002, allocations: 91.64 kB / 0.9283 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.2002, allocations: 0 / 0.9283 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000249/0.2005, allocations: 19.94 kB / 0.9283 GB, free: 9.184 MB / 0.8855 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 (3): * Single equations (assignments): 3 * 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.0002042/0.2007, allocations: 107.2 kB / 0.9284 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.201, allocations: 71.86 kB / 0.9285 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.201, allocations: 0 / 0.9285 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.2012, allocations: 40.05 kB / 0.9285 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2015, allocations: 22.03 kB / 0.9285 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.2019, allocations: 152.5 kB / 0.9287 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.202, allocations: 75.06 kB / 0.9287 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.202, allocations: 0 / 0.9287 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.2021, allocations: 16.5 kB / 0.9288 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.2021, allocations: 0 / 0.9288 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of Templates: time 0.003938/0.206, allocations: 1.005 MB / 0.9297 GB, free: 7.672 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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: 7.815034199040383]