Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001445/0.001445, allocations: 100.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.001585/0.001585, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.72/2.72, allocations: 476 MB / 0.7707 GB, free: 4.93 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002394/0.002394, allocations: 68.27 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3625, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003677/0.3662, allocations: 1.652 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.3671, allocations: 388.5 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.3672, allocations: 0 / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3673, allocations: 7.875 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.3674, allocations: 23.78 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.3679, allocations: 125.6 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3681, allocations: 107.6 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.3682, allocations: 31.8 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.3683, allocations: 43.91 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.3684, allocations: 39.77 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3684, allocations: 8 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3686, allocations: 59.95 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.3686, allocations: 23.92 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.3687, allocations: 35.86 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3689, allocations: 131.5 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3689, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3689, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.3689, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 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.0006617/0.3696, allocations: 341.8 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3696, allocations: 12.03 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.3699, allocations: 40.8 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3702, allocations: 130.4 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.3703, allocations: 59.97 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3703, allocations: 8.375 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.3706, allocations: 127.8 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3706, allocations: 3.938 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3707, allocations: 4 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3707, allocations: 4 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.3709, allocations: 83.83 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.3716, allocations: 308.2 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.3722, allocations: 118.6 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3723, allocations: 44.88 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3723, allocations: 0 / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3724, allocations: 38.5 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.3724, allocations: 0 / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004475/0.3728, allocations: 133.7 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3728, allocations: 51.41 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.373, allocations: 119.2 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.373, allocations: 37.7 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.3731, allocations: 104 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.3731, allocations: 23.78 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3731, allocations: 21.72 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3733, allocations: 322.8 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3734, allocations: 27.98 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3735, allocations: 53.62 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.3737, allocations: 86.12 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3737, allocations: 3.938 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002691/0.374, allocations: 109.5 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.374, allocations: 8 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.374, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3741, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3742, allocations: 23.98 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3742, allocations: 3.938 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.3743, allocations: 15.95 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3743, allocations: 0 / 1.289 GB, free: 6.672 MB / 0.9825 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.0001141/0.3744, allocations: 113.8 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3744, allocations: 7.953 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.3745, allocations: 20.31 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3745, allocations: 0 / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3745, allocations: 0 / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3745, allocations: 3.938 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.3747, allocations: 133.2 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3747, allocations: 4 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.3748, allocations: 19.98 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3748, allocations: 0 / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3748, allocations: 0 / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3748, allocations: 0 / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3748, allocations: 0 / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3751, allocations: 211.4 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.3751, allocations: 11.95 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3751, allocations: 4 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3753, allocations: 15.98 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.3753, allocations: 7.922 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3753, allocations: 4 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.3754, allocations: 100.9 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3754, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002456/0.3757, allocations: 23.89 kB / 1.289 GB, free: 5.945 MB / 0.9825 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.3758, allocations: 95.25 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.3761, allocations: 75.94 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3761, allocations: 3.938 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3762, allocations: 31.98 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3765, allocations: 27.92 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.3771, allocations: 224.9 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.3772, allocations: 87.23 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.3773, allocations: 11.44 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3773, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of Templates: time 0.003316/0.3806, allocations: 1.276 MB / 1.291 GB, free: 4.066 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.143678348045796]