Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 190.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 251 MB, free: 13 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.814/2.814, allocations: 476.7 MB / 0.7646 GB, free: 9.977 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.89 kB / 1.11 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7889, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002382/0.7912, allocations: 1.296 MB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.7923, allocations: 0.5764 MB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.7923, allocations: 0 / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.7924, allocations: 3.938 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.517e-05/0.7924, allocations: 7.922 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.7928, allocations: 95.56 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.7928, allocations: 19.88 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.7929, allocations: 7.984 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.7929, allocations: 11.92 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.793, allocations: 4 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.793, allocations: 0 / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.7933, allocations: 139.8 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.7933, allocations: 0 / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.7933, allocations: 11.92 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.7935, allocations: 102 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7935, allocations: 4 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7935, allocations: 0 / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7935, allocations: 0 / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003866/0.7939, allocations: 270.2 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.7939, allocations: 8.031 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.7944, allocations: 24.91 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7945, allocations: 106.5 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.7945, allocations: 8.375 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.7945, allocations: 384 / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.7947, allocations: 50.22 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7947, allocations: 192 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.7947, allocations: 3.938 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.7947, allocations: 0 / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.7948, allocations: 31.91 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.795, allocations: 128.7 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.7951, allocations: 46.58 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.754e-05/0.7952, allocations: 16.84 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.7952, allocations: 0 / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.7953, allocations: 42.55 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.7953, allocations: 0 / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000302/0.7956, allocations: 69.55 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.7956, allocations: 59.39 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.7957, allocations: 93.98 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.7957, allocations: 33.7 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.7958, allocations: 81.75 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.7958, allocations: 3.953 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.7958, allocations: 25.64 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.796, allocations: 310.8 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.796, allocations: 11.98 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.7961, allocations: 15.98 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.7962, allocations: 28.78 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7962, allocations: 4 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.7964, allocations: 57.67 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7964, allocations: 4 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.7964, allocations: 12.03 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7964, allocations: 4 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.7965, allocations: 7.984 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.7966, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.7966, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.7966, allocations: 7.984 kB / 1.278 GB, free: 224 kB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.465e-05/0.7967, allocations: 108.2 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.7967, allocations: 3.953 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.7968, allocations: 19.25 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.7968, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.7968, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7968, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.7969, allocations: 124.8 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.7969, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.797, allocations: 11.92 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.797, allocations: 4 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.797, allocations: 11.92 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.797, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.797, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.7972, allocations: 81.11 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.7973, allocations: 11.92 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.7973, allocations: 3.938 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.636e-05/0.7973, allocations: 8.031 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.7974, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.7974, allocations: 3.984 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.7974, allocations: 83.28 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7974, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002041/0.7976, allocations: 19.88 kB / 1.279 GB, free: 15.67 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 (2): * Single equations (assignments): 2 * 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.0001847/0.7978, allocations: 107.2 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.798, allocations: 35.91 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.798, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.7981, allocations: 15.98 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.7983, allocations: 10.34 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.7987, allocations: 122.9 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.799, allocations: 0.6768 MB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.559e-05/0.7991, allocations: 8 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.7991, allocations: 11.44 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.7991, allocations: 3.938 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.003319/0.8024, allocations: 0.76 MB / 1.28 GB, free: 13.86 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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: 8.722867148928344]