Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001643/0.001643, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001869/0.001869, allocations: 213 kB / 23.01 MB, free: 4.566 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.372/3.372, allocations: 0.49 GB / 0.7958 GB, free: 33.52 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.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [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.002033/0.002033, allocations: 68.97 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3926, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003679/0.3962, allocations: 1.71 MB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008165/0.3971, allocations: 398.8 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.3971, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3972, allocations: 15.88 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.3973, allocations: 19.78 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.3978, allocations: 122.9 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000184/0.398, allocations: 107.6 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3981, allocations: 35.91 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.3982, allocations: 43.84 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3983, allocations: 43.84 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.3984, allocations: 4 kB / 1.33 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3985, allocations: 59.95 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.3985, allocations: 23.91 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.3986, allocations: 47.8 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.3989, allocations: 135.5 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3989, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3989, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3989, allocations: 7.938 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006715/0.3995, allocations: 341.8 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3996, allocations: 12.03 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.3998, allocations: 32.8 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4001, allocations: 142.3 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.219e-05/0.4002, allocations: 63.97 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.4002, allocations: 4.375 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.4005, allocations: 102.1 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.4005, allocations: 3.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.4005, allocations: 7.984 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4005, allocations: 4 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.4008, allocations: 83.84 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.4015, allocations: 355.5 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.4021, allocations: 130.6 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4022, allocations: 36.88 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.4022, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4022, allocations: 34.56 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4022, allocations: 3.938 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004298/0.4027, allocations: 133.6 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4027, allocations: 55.41 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4029, allocations: 135.2 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.4029, allocations: 33.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.4029, allocations: 100.2 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.403, allocations: 23.78 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.403, allocations: 21.72 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4032, allocations: 322.8 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.4033, allocations: 31.97 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.4034, allocations: 45.69 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4036, allocations: 81.62 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4036, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002613/0.4039, allocations: 109.5 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4039, allocations: 9.719 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4039, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4039, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4041, allocations: 23.92 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4041, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.4041, allocations: 19.97 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.4042, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001009/0.4043, allocations: 114.4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.4043, allocations: 7.953 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.4043, allocations: 20.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4043, allocations: 3.938 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4043, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4043, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.4046, allocations: 176.6 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4046, allocations: 7.938 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.4047, allocations: 19.92 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4047, allocations: 0 / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4047, allocations: 4 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4047, allocations: 3.938 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4047, allocations: 0 / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.405, allocations: 199.5 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.405, allocations: 11.95 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.405, allocations: 0 / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4052, allocations: 11.92 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.4052, allocations: 7.984 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4052, allocations: 8 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.475e-05/0.4053, allocations: 103.2 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4053, allocations: 7.938 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002479/0.4056, allocations: 19.95 kB / 1.333 GB, free: 11.29 MB / 1.029 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 (7): * Single equations (assignments): 7 * 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.0001256/0.4057, allocations: 99.25 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.406, allocations: 72.56 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.406, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.4061, allocations: 39.91 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.4065, allocations: 37.67 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.407, allocations: 228.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.4076, allocations: 0.6963 MB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.4076, allocations: 11.44 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4076, allocations: 8 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of Templates: time 0.003289/0.4109, allocations: 1.316 MB / 1.335 GB, free: 8.73 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.475284529005876]