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.001765/0.001765, 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.002226/0.002226, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.785 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.36/3.36, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.002114/0.002114, allocations: 69.23 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3799, 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.00269/0.3826, allocations: 1.297 MB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.539, allocations: 115.7 MB / 1.44 GB, free: 12.37 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.539, allocations: 0 / 1.44 GB, free: 12.37 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.539, allocations: 8 kB / 1.44 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.5391, allocations: 7.922 kB / 1.44 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.5394, allocations: 55.67 kB / 1.44 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.5395, allocations: 23.86 kB / 1.44 GB, free: 12.28 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.5396, allocations: 4 kB / 1.44 GB, free: 12.27 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.5396, allocations: 4 kB / 1.44 GB, free: 12.27 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.5397, allocations: 14.92 kB / 1.44 GB, free: 12.26 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.5397, allocations: 4 kB / 1.44 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.5398, allocations: 19.94 kB / 1.44 GB, free: 12.23 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.5398, allocations: 11.98 kB / 1.44 GB, free: 12.22 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.5398, allocations: 7.938 kB / 1.44 GB, free: 12.21 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.5399, allocations: 23.92 kB / 1.44 GB, free: 12.19 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.54, allocations: 0 / 1.44 GB, free: 12.19 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.343e-06/0.54, allocations: 0 / 1.44 GB, free: 12.19 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.54, allocations: 0 / 1.44 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.0004195/0.5404, allocations: 258.3 kB / 1.44 GB, free: 11.91 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5404, allocations: 12.03 kB / 1.44 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.5404, allocations: 0.9375 kB / 1.44 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.5406, allocations: 110.5 kB / 1.44 GB, free: 11.76 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.5407, allocations: 63.95 kB / 1.44 GB, free: 11.69 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.5407, allocations: 4.375 kB / 1.44 GB, free: 11.68 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.5408, allocations: 38.19 kB / 1.44 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5408, allocations: 7.875 kB / 1.44 GB, free: 11.63 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.5408, allocations: 0 / 1.44 GB, free: 11.63 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5408, allocations: 4 kB / 1.44 GB, free: 11.63 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.5409, allocations: 11.98 kB / 1.44 GB, free: 11.62 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.5411, allocations: 105.3 kB / 1.441 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.5412, allocations: 30.61 kB / 1.441 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.5412, allocations: 16.86 kB / 1.441 GB, free: 11.43 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.5414, allocations: 12.08 kB / 1.441 GB, free: 11.41 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.5414, allocations: 30.56 kB / 1.441 GB, free: 11.38 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.5414, allocations: 3.938 kB / 1.441 GB, free: 11.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0002477/0.5416, allocations: 65.56 kB / 1.441 GB, free: 11.3 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.5417, allocations: 51.41 kB / 1.441 GB, free: 11.24 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.5418, allocations: 101.8 kB / 1.441 GB, free: 11.13 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5418, allocations: 25.7 kB / 1.441 GB, free: 11.1 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.5418, allocations: 88.12 kB / 1.441 GB, free: 11.01 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.5419, allocations: 11.95 kB / 1.441 GB, free: 11 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.5419, allocations: 13.72 kB / 1.441 GB, free: 10.98 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.542, allocations: 310.8 kB / 1.441 GB, free: 10.66 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/0.5421, allocations: 11.98 kB / 1.441 GB, free: 10.65 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.5421, allocations: 4 kB / 1.441 GB, free: 10.65 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.459e-05/0.5422, allocations: 32.78 kB / 1.441 GB, free: 10.61 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5422, allocations: 0 / 1.441 GB, free: 10.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001404/0.5424, allocations: 54.09 kB / 1.441 GB, free: 10.55 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5424, allocations: 8 kB / 1.441 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5424, allocations: 0 / 1.441 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5424, allocations: 7.922 kB / 1.441 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.5425, allocations: 4 kB / 1.441 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5425, allocations: 0 / 1.441 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.5425, allocations: 7.953 kB / 1.441 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.5425, allocations: 0 / 1.441 GB, free: 10.53 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 8.368e-05/0.5426, allocations: 105.8 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.5426, allocations: 8.031 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.5428, allocations: 69.23 kB / 1.442 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5428, allocations: 0 / 1.442 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5428, allocations: 0 / 1.442 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5428, allocations: 0 / 1.442 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.5429, allocations: 105.3 kB / 1.442 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5429, allocations: 0 / 1.442 GB, free: 10.19 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.5429, allocations: 8 kB / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5429, allocations: 0 / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.543, allocations: 0 / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.543, allocations: 3.938 kB / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.543, allocations: 3.938 kB / 1.442 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.5431, allocations: 81.05 kB / 1.442 GB, free: 10.08 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.5432, allocations: 11.95 kB / 1.442 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.5432, allocations: 0 / 1.442 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.5432, allocations: 7.922 kB / 1.442 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.5432, allocations: 4 kB / 1.442 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.5432, allocations: 0 / 1.442 GB, free: 10.05 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.5433, allocations: 79.28 kB / 1.442 GB, free: 9.977 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5433, allocations: 0 / 1.442 GB, free: 9.977 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001957/0.5435, allocations: 11.94 kB / 1.442 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.0001642/0.5436, allocations: 115.2 kB / 1.442 GB, free: 9.84 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.5438, allocations: 15.98 kB / 1.442 GB, free: 9.824 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5438, allocations: 0 / 1.442 GB, free: 9.824 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.5438, allocations: 19.92 kB / 1.442 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.000261/0.5441, allocations: 5.875 kB / 1.442 GB, free: 9.801 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.5445, allocations: 128.1 kB / 1.442 GB, free: 9.648 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.5445, allocations: 59.36 kB / 1.442 GB, free: 9.57 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.761e-05/0.5446, allocations: 4 kB / 1.442 GB, free: 9.566 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.5446, allocations: 7.438 kB / 1.442 GB, free: 9.559 MB / 1.139 GB Notification: Performance of SimCode: time 7.82e-07/0.5446, allocations: 0 / 1.442 GB, free: 9.559 MB / 1.139 GB Notification: Performance of Templates: time 0.003099/0.5477, allocations: 0.5572 MB / 1.443 GB, free: 9.012 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/jenkins/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: 9.32543913833797]