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.001618/0.001618, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001559/0.001559, allocations: 216.7 kB / 22.24 MB, free: 5.242 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.483/3.483, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 63.38 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3432, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003533/0.3467, allocations: 1.503 MB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.153/0.4997, allocations: 115.8 MB / 1.44 GB, free: 12.15 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.4997, allocations: 0 / 1.44 GB, free: 12.15 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.4998, allocations: 7.922 kB / 1.44 GB, free: 12.14 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.4999, allocations: 11.86 kB / 1.44 GB, free: 12.13 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.5003, allocations: 71.61 kB / 1.44 GB, free: 12.06 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.5004, allocations: 55.72 kB / 1.44 GB, free: 12.01 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.5005, allocations: 8 kB / 1.44 GB, free: 12 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.5006, allocations: 23.91 kB / 1.44 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.5006, allocations: 27.91 kB / 1.44 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.5007, allocations: 8 kB / 1.44 GB, free: 11.94 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.5008, allocations: 23.94 kB / 1.44 GB, free: 11.92 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.5008, allocations: 11.92 kB / 1.44 GB, free: 11.91 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.5008, allocations: 19.94 kB / 1.44 GB, free: 11.89 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.501, allocations: 63.73 kB / 1.44 GB, free: 11.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.501, allocations: 0 / 1.44 GB, free: 11.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.323e-06/0.501, allocations: 0 / 1.44 GB, free: 11.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.501, allocations: 0 / 1.44 GB, free: 11.82 MB / 1.139 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.0005826/0.5016, allocations: 298.1 kB / 1.441 GB, free: 11.5 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.5016, allocations: 12.03 kB / 1.441 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.5017, allocations: 8.891 kB / 1.441 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.5018, allocations: 114.5 kB / 1.441 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5018, allocations: 4.312 kB / 1.441 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.5018, allocations: 4.375 kB / 1.441 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.5021, allocations: 78.19 kB / 1.441 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5021, allocations: 192 / 1.441 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5021, allocations: 3.938 kB / 1.441 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5022, allocations: 0 / 1.441 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.5024, allocations: 75.92 kB / 1.441 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.5028, allocations: 216.4 kB / 1.441 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.5031, allocations: 54.48 kB / 1.441 GB, free: 10.87 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.5032, allocations: 44.91 kB / 1.441 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.5033, allocations: 15.97 kB / 1.441 GB, free: 10.81 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5034, allocations: 34.56 kB / 1.441 GB, free: 10.77 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5034, allocations: 0 / 1.441 GB, free: 10.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0005773/0.504, allocations: 133.5 kB / 1.441 GB, free: 10.63 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.504, allocations: 51.41 kB / 1.441 GB, free: 10.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.5041, allocations: 121.8 kB / 1.442 GB, free: 10.44 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.5041, allocations: 25.7 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.5042, allocations: 88.14 kB / 1.442 GB, free: 10.32 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.5042, allocations: 11.97 kB / 1.442 GB, free: 10.3 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.5043, allocations: 17.72 kB / 1.442 GB, free: 10.28 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5044, allocations: 314.8 kB / 1.442 GB, free: 9.965 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.5046, allocations: 31.97 kB / 1.442 GB, free: 9.934 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.5047, allocations: 39.89 kB / 1.442 GB, free: 9.895 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.505, allocations: 68.78 kB / 1.442 GB, free: 9.824 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.505, allocations: 3.938 kB / 1.442 GB, free: 9.82 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003361/0.5053, allocations: 101.6 kB / 1.442 GB, free: 9.715 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5053, allocations: 4 kB / 1.442 GB, free: 9.711 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5053, allocations: 4 kB / 1.442 GB, free: 9.707 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5053, allocations: 0 / 1.442 GB, free: 9.707 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5055, allocations: 11.98 kB / 1.442 GB, free: 9.695 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5055, allocations: 0 / 1.442 GB, free: 9.695 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/0.5056, allocations: 11.98 kB / 1.442 GB, free: 9.684 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.5056, allocations: 7.984 kB / 1.442 GB, free: 9.676 MB / 1.139 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 9.234e-05/0.5057, allocations: 117.8 kB / 1.442 GB, free: 9.551 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.5057, allocations: 7.953 kB / 1.442 GB, free: 9.543 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.5061, allocations: 109.5 kB / 1.443 GB, free: 9.418 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5061, allocations: 0 / 1.443 GB, free: 9.418 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5061, allocations: 0 / 1.443 GB, free: 9.418 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5061, allocations: 0 / 1.443 GB, free: 9.418 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.5063, allocations: 117.2 kB / 1.443 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5063, allocations: 0 / 1.443 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.5064, allocations: 27.97 kB / 1.443 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5064, allocations: 0 / 1.443 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.5064, allocations: 0 / 1.443 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5064, allocations: 0 / 1.443 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5064, allocations: 0 / 1.443 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.5068, allocations: 199.4 kB / 1.443 GB, free: 9.035 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.5068, allocations: 11.88 kB / 1.443 GB, free: 9.023 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.5068, allocations: 12.41 kB / 1.443 GB, free: 9.012 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.5069, allocations: 7.984 kB / 1.443 GB, free: 9.004 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.5069, allocations: 4 kB / 1.443 GB, free: 9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.5069, allocations: 0 / 1.443 GB, free: 9 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.502e-05/0.507, allocations: 95.58 kB / 1.443 GB, free: 8.906 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.507, allocations: 0 / 1.443 GB, free: 8.906 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002478/0.5073, allocations: 12 kB / 1.443 GB, free: 8.895 MB / 1.139 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.0001671/0.5074, allocations: 111.2 kB / 1.443 GB, free: 8.777 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.5078, allocations: 75.91 kB / 1.443 GB, free: 8.703 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5078, allocations: 3.938 kB / 1.443 GB, free: 8.699 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.508, allocations: 43.89 kB / 1.443 GB, free: 8.656 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.5083, allocations: 7.938 kB / 1.443 GB, free: 8.648 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.5087, allocations: 148.2 kB / 1.443 GB, free: 8.477 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.5088, allocations: 63.34 kB / 1.443 GB, free: 8.395 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.5088, allocations: 4 kB / 1.443 GB, free: 8.391 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.5088, allocations: 7.438 kB / 1.443 GB, free: 8.383 MB / 1.139 GB Notification: Performance of SimCode: time 4.01e-07/0.5088, allocations: 0 / 1.443 GB, free: 8.383 MB / 1.139 GB Notification: Performance of Templates: time 0.00421/0.513, allocations: 1.04 MB / 1.444 GB, free: 7.359 MB / 1.139 GB " [Timeout remaining time 299] 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: 9.529167279601097]