Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.0013/0.0013, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001551/0.001551, allocations: 215.2 kB / 22.24 MB, free: 5.258 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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 3.389/3.389, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.002034/0.002034, allocations: 67.7 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002356/0.3402, allocations: 1.294 MB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.4923, allocations: 115.7 MB / 1.478 GB, free: 8.113 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.4924, allocations: 0 / 1.478 GB, free: 8.113 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.4924, allocations: 3.938 kB / 1.478 GB, free: 8.109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.4925, allocations: 7.938 kB / 1.478 GB, free: 8.102 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.4928, allocations: 59.67 kB / 1.478 GB, free: 8.043 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.4929, allocations: 27.86 kB / 1.478 GB, free: 8.016 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.4929, allocations: 0 / 1.478 GB, free: 8.016 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.493, allocations: 15.92 kB / 1.478 GB, free: 8 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.4931, allocations: 4 kB / 1.478 GB, free: 7.996 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.4931, allocations: 0 / 1.478 GB, free: 7.996 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 8.761e-05/0.4932, allocations: 23.92 kB / 1.478 GB, free: 7.973 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.4932, allocations: 7.938 kB / 1.478 GB, free: 7.965 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.4932, allocations: 4 kB / 1.478 GB, free: 7.961 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.4933, allocations: 23.91 kB / 1.478 GB, free: 7.938 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.4933, allocations: 7.984 kB / 1.478 GB, free: 7.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4933, allocations: 0 / 1.478 GB, free: 7.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.4933, allocations: 0 / 1.478 GB, free: 7.93 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004084/0.4937, allocations: 259.9 kB / 1.479 GB, free: 7.645 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4938, allocations: 8.031 kB / 1.479 GB, free: 7.637 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.4939, allocations: 16.89 kB / 1.479 GB, free: 7.621 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.494, allocations: 106.5 kB / 1.479 GB, free: 7.492 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/0.4941, allocations: 55.97 kB / 1.479 GB, free: 7.426 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.4941, allocations: 8.297 kB / 1.479 GB, free: 7.418 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4943, allocations: 42.25 kB / 1.479 GB, free: 7.371 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4943, allocations: 3.938 kB / 1.479 GB, free: 7.367 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.4943, allocations: 0 / 1.479 GB, free: 7.367 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4943, allocations: 0 / 1.479 GB, free: 7.367 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.4944, allocations: 15.92 kB / 1.479 GB, free: 7.352 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.4945, allocations: 105.3 kB / 1.479 GB, free: 7.219 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4946, allocations: 34.61 kB / 1.479 GB, free: 7.176 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.4947, allocations: 12.86 kB / 1.479 GB, free: 7.16 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.4947, allocations: 0 / 1.479 GB, free: 7.16 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.4947, allocations: 38.64 kB / 1.479 GB, free: 7.113 MB / 1.17 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.4947, allocations: 0 / 1.479 GB, free: 7.113 MB / 1.17 GB Notification: Performance of matching and sorting (n=3): time 0.0002089/0.4949, allocations: 57.56 kB / 1.479 GB, free: 7.051 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.495, allocations: 55.41 kB / 1.479 GB, free: 6.984 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.495, allocations: 101.8 kB / 1.479 GB, free: 6.875 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4951, allocations: 29.7 kB / 1.479 GB, free: 6.84 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.4951, allocations: 80.14 kB / 1.479 GB, free: 6.758 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.4951, allocations: 7.906 kB / 1.479 GB, free: 6.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.4952, allocations: 17.72 kB / 1.479 GB, free: 6.727 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4953, allocations: 314.8 kB / 1.48 GB, free: 6.41 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.287e-05/0.4953, allocations: 4 kB / 1.48 GB, free: 6.406 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.4954, allocations: 12 kB / 1.48 GB, free: 6.395 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.4955, allocations: 24.78 kB / 1.48 GB, free: 6.367 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4955, allocations: 0 / 1.48 GB, free: 6.367 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001282/0.4956, allocations: 61.61 kB / 1.48 GB, free: 6.301 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4956, allocations: 4 kB / 1.48 GB, free: 6.297 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4956, allocations: 0 / 1.48 GB, free: 6.297 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4956, allocations: 3.938 kB / 1.48 GB, free: 6.293 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.4957, allocations: 4.516 kB / 1.48 GB, free: 6.289 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.4957, allocations: 4 kB / 1.48 GB, free: 6.285 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.4958, allocations: 4 kB / 1.48 GB, free: 6.281 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.4958, allocations: 0 / 1.48 GB, free: 6.281 MB / 1.17 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 8.943e-05/0.4959, allocations: 110.9 kB / 1.48 GB, free: 6.164 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.4959, allocations: 3.984 kB / 1.48 GB, free: 6.16 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.4959, allocations: 15.62 kB / 1.48 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.4959, allocations: 3.984 kB / 1.48 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4959, allocations: 0 / 1.48 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4959, allocations: 4 kB / 1.48 GB, free: 6.129 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.345e-05/0.496, allocations: 101.3 kB / 1.48 GB, free: 6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.496, allocations: 0 / 1.48 GB, free: 6 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.496, allocations: 11.92 kB / 1.48 GB, free: 5.988 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.496, allocations: 0 / 1.48 GB, free: 5.988 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4961, allocations: 3.938 kB / 1.48 GB, free: 5.984 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4961, allocations: 3.938 kB / 1.48 GB, free: 5.98 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4961, allocations: 0 / 1.48 GB, free: 5.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.4962, allocations: 81.08 kB / 1.48 GB, free: 5.883 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.4962, allocations: 7.984 kB / 1.48 GB, free: 5.875 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.4963, allocations: 0 / 1.48 GB, free: 5.875 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.4963, allocations: 3.938 kB / 1.48 GB, free: 5.871 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.4963, allocations: 4 kB / 1.48 GB, free: 5.867 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.4963, allocations: 0 / 1.48 GB, free: 5.867 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.4964, allocations: 83.27 kB / 1.48 GB, free: 5.785 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.4964, allocations: 0 / 1.48 GB, free: 5.785 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001819/0.4966, allocations: 8 kB / 1.48 GB, free: 5.777 MB / 1.17 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.0001187/0.4967, allocations: 99.25 kB / 1.48 GB, free: 5.668 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.4968, allocations: 23.92 kB / 1.48 GB, free: 5.645 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4968, allocations: 0 / 1.48 GB, free: 5.645 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.4969, allocations: 7.984 kB / 1.48 GB, free: 5.637 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.4971, allocations: 7.938 kB / 1.48 GB, free: 5.629 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.4975, allocations: 128.1 kB / 1.48 GB, free: 5.477 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.841e-05/0.4975, allocations: 67.34 kB / 1.48 GB, free: 5.391 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.4976, allocations: 0 / 1.48 GB, free: 5.391 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.4976, allocations: 7.438 kB / 1.481 GB, free: 5.383 MB / 1.17 GB Notification: Performance of SimCode: time 3.21e-07/0.4976, allocations: 4 kB / 1.481 GB, free: 5.379 MB / 1.17 GB Notification: Performance of Templates: time 0.002808/0.5004, allocations: 495.5 kB / 1.481 GB, free: 4.91 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.1671232432127]