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.001415/0.001415, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001603/0.001603, allocations: 220.1 kB / 23.05 MB, free: 4.844 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.31/3.31, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002017/0.002017, allocations: 68.84 kB / 1.155 GB, free: 25.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3845, allocations: 176.1 MB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003185/0.3877, allocations: 1.659 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000816/0.3885, allocations: 378.9 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.3885, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.3886, allocations: 11.81 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.558e-05/0.3887, allocations: 31.72 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.3892, allocations: 119.6 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3893, allocations: 103.6 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3895, allocations: 31.92 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.3896, allocations: 47.83 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.3896, allocations: 35.78 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.3897, allocations: 8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.3898, allocations: 67.95 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.3898, allocations: 19.92 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.3899, allocations: 39.84 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3901, allocations: 127.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3901, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3901, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3901, allocations: 0 / 1.33 GB, free: 14.18 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.0005971/0.3907, allocations: 341.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3908, allocations: 11.97 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.391, allocations: 32.86 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3913, allocations: 147.5 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.764e-05/0.3914, allocations: 59.97 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3914, allocations: 8.312 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.3917, allocations: 133.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3917, allocations: 3.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3917, allocations: 8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3917, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.392, allocations: 79.88 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.3926, allocations: 300.2 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.3932, allocations: 126.6 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3933, allocations: 36.84 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.3933, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3933, allocations: 42.48 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3933, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004409/0.3938, allocations: 129.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3938, allocations: 55.41 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3939, allocations: 127.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.394, allocations: 29.7 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.394, allocations: 104 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3941, allocations: 23.8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3941, allocations: 17.72 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3943, allocations: 322.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3944, allocations: 35.97 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3945, allocations: 37.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3947, allocations: 85.61 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3947, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002601/0.3949, allocations: 110.1 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.395, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.395, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.395, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3951, allocations: 27.92 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3951, allocations: 4.031 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.3952, allocations: 11.92 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.3952, allocations: 4.078 kB / 1.332 GB, free: 11.56 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.0001051/0.3953, allocations: 118.3 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.3953, allocations: 7.953 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.3954, allocations: 12.38 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3954, allocations: 3.984 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3954, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3954, allocations: 3.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3956, allocations: 145.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3956, allocations: 4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.984e-05/0.3957, allocations: 15.94 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.3957, allocations: 3.984 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3957, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3957, allocations: 3.984 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3957, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.396, allocations: 199.4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.396, allocations: 7.953 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.396, allocations: 8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3962, allocations: 11.98 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.3962, allocations: 7.984 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3962, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.3963, allocations: 102.8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3963, allocations: 3.938 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002437/0.3966, allocations: 23.89 kB / 1.333 GB, free: 10.84 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.0001242/0.3967, allocations: 103.2 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.397, allocations: 71.95 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.397, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3971, allocations: 39.91 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3974, allocations: 23.97 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.3979, allocations: 233 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.287e-05/0.398, allocations: 83.12 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.3981, allocations: 11.44 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/0.3981, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of Templates: time 0.003118/0.4012, allocations: 1.26 MB / 1.335 GB, free: 8.961 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.494763765949756]