Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001366/0.001366, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001433/0.001433, allocations: 216 kB / 22.99 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.208/3.208, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_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_12_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.002099/0.002099, allocations: 68.5 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002494/0.3505, allocations: 1.298 MB / 1.328 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1571/0.5076, allocations: 115.7 MB / 1.441 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.5077, allocations: 0 / 1.441 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.5077, allocations: 4 kB / 1.441 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/0.5078, allocations: 3.938 kB / 1.441 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.5082, allocations: 55.67 kB / 1.441 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.5083, allocations: 23.86 kB / 1.441 GB, free: 12.28 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.5083, allocations: 3.984 kB / 1.441 GB, free: 12.27 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.5084, allocations: 12 kB / 1.441 GB, free: 12.26 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.5084, allocations: 11.16 kB / 1.441 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.5085, allocations: 0 / 1.441 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.5086, allocations: 23.75 kB / 1.441 GB, free: 12.23 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.5086, allocations: 3.984 kB / 1.441 GB, free: 12.23 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.5086, allocations: 15.94 kB / 1.441 GB, free: 12.21 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.5087, allocations: 19.97 kB / 1.441 GB, free: 12.2 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5087, allocations: 0 / 1.441 GB, free: 12.2 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5087, allocations: 0 / 1.441 GB, free: 12.2 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.5087, allocations: 4 kB / 1.441 GB, free: 12.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004687/0.5092, allocations: 262.2 kB / 1.441 GB, free: 11.9 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5092, allocations: 8.031 kB / 1.441 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.5093, allocations: 0.9375 kB / 1.441 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.5094, allocations: 114.5 kB / 1.441 GB, free: 11.76 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.5095, allocations: 55.97 kB / 1.441 GB, free: 11.69 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.5095, allocations: 4.375 kB / 1.441 GB, free: 11.69 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.5097, allocations: 42.25 kB / 1.441 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5097, allocations: 3.938 kB / 1.441 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5097, allocations: 0 / 1.441 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5097, allocations: 0 / 1.441 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.5098, allocations: 15.92 kB / 1.441 GB, free: 11.62 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.51, allocations: 109.2 kB / 1.441 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.5101, allocations: 30.61 kB / 1.441 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.5101, allocations: 12.84 kB / 1.441 GB, free: 11.43 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.5103, allocations: 16.08 kB / 1.441 GB, free: 11.41 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.5103, allocations: 38.56 kB / 1.441 GB, free: 11.37 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5103, allocations: 0 / 1.441 GB, free: 11.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0002843/0.5106, allocations: 61.55 kB / 1.442 GB, free: 11.3 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.5106, allocations: 55.41 kB / 1.442 GB, free: 11.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.5107, allocations: 93.84 kB / 1.442 GB, free: 11.13 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.5107, allocations: 29.7 kB / 1.442 GB, free: 11.1 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.5108, allocations: 84.14 kB / 1.442 GB, free: 11.01 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.5108, allocations: 7.953 kB / 1.442 GB, free: 11 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.5108, allocations: 13.72 kB / 1.442 GB, free: 10.98 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.511, allocations: 314.8 kB / 1.442 GB, free: 10.67 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.511, allocations: 7.984 kB / 1.442 GB, free: 10.66 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.5111, allocations: 4 kB / 1.442 GB, free: 10.66 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.5112, allocations: 28.78 kB / 1.442 GB, free: 10.62 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5112, allocations: 0 / 1.442 GB, free: 10.62 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001306/0.5113, allocations: 49.69 kB / 1.442 GB, free: 10.57 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5113, allocations: 8 kB / 1.442 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5113, allocations: 3.984 kB / 1.442 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5113, allocations: 3.938 kB / 1.442 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.5114, allocations: 4 kB / 1.442 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5114, allocations: 7.938 kB / 1.442 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.5115, allocations: 3.953 kB / 1.442 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.5115, allocations: 3.938 kB / 1.442 GB, free: 10.54 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.822e-05/0.5116, allocations: 113.8 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.5116, allocations: 0 / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.5117, allocations: 69.22 kB / 1.442 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5118, allocations: 4 kB / 1.442 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5118, allocations: 0 / 1.442 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5118, allocations: 0 / 1.442 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.5119, allocations: 105.3 kB / 1.442 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5119, allocations: 4 kB / 1.442 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.5119, allocations: 4 kB / 1.442 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5119, allocations: 0 / 1.442 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.5119, allocations: 0 / 1.442 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/0.5119, allocations: 7.938 kB / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5119, allocations: 0 / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.5121, allocations: 85.61 kB / 1.443 GB, free: 10.08 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.5121, allocations: 4 kB / 1.443 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.5122, allocations: 3.984 kB / 1.443 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.5122, allocations: 11.92 kB / 1.443 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.5122, allocations: 0 / 1.443 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.5122, allocations: 0 / 1.443 GB, free: 10.06 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.5123, allocations: 83.28 kB / 1.443 GB, free: 9.977 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5123, allocations: 0 / 1.443 GB, free: 9.977 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001948/0.5125, allocations: 11.94 kB / 1.443 GB, free: 9.965 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.0001947/0.5127, allocations: 117.2 kB / 1.443 GB, free: 9.84 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.5128, allocations: 23.97 kB / 1.443 GB, free: 9.816 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5128, allocations: 0 / 1.443 GB, free: 9.816 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.5129, allocations: 11.94 kB / 1.443 GB, free: 9.805 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.5131, allocations: 5.875 kB / 1.443 GB, free: 9.801 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.5136, allocations: 157.9 kB / 1.443 GB, free: 9.613 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.73e-05/0.5136, allocations: 59.36 kB / 1.443 GB, free: 9.535 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.5136, allocations: 11.44 kB / 1.443 GB, free: 9.523 MB / 1.139 GB Notification: Performance of SimCode: time 4.31e-07/0.5136, allocations: 4 kB / 1.443 GB, free: 9.52 MB / 1.139 GB Notification: Performance of Templates: time 0.002444/0.5161, allocations: 0.574 MB / 1.444 GB, free: 8.945 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.263598056975752]