Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001655/0.001655, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001994/0.001994, allocations: 165 kB / 23.01 MB, free: 4.598 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.412/1.412, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.606/2.606, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [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.002108/0.002108, allocations: 63.91 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.303, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002517/0.3055, allocations: 1.302 MB / 1.119 GB, free: 1.223 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3067, allocations: 0.6037 MB / 1.119 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.3067, allocations: 0 / 1.119 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.3067, allocations: 0 / 1.119 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.234e-05/0.3067, allocations: 7.938 kB / 1.119 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.3072, allocations: 107.5 kB / 1.119 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.3072, allocations: 23.86 kB / 1.119 GB, free: 492 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.3073, allocations: 8 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.087e-05/0.3073, allocations: 4 kB / 1.119 GB, free: 480 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.3074, allocations: 15.91 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3074, allocations: 7.938 kB / 1.119 GB, free: 456 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.3077, allocations: 131.8 kB / 1.12 GB, free: 324 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.3077, allocations: 7.969 kB / 1.12 GB, free: 316 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.3077, allocations: 19.88 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3079, allocations: 95.77 kB / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3079, allocations: 0 / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3079, allocations: 0 / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3079, allocations: 0 / 1.12 GB, free: 200 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004705/0.3084, allocations: 286.1 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3084, allocations: 8.031 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.3089, allocations: 36.89 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.309, allocations: 106.5 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.309, allocations: 4.375 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.309, allocations: 384 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3092, allocations: 83.92 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3092, allocations: 4.125 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3092, allocations: 3.938 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3092, allocations: 0 / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.3094, allocations: 31.97 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3096, allocations: 117.2 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.3099, allocations: 66.58 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.31, allocations: 24.92 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.31, allocations: 8 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.31, allocations: 34.5 kB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.31, allocations: 0 / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.003588/0.3136, allocations: 0.5046 MB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3136, allocations: 51.41 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.3137, allocations: 93.95 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3137, allocations: 29.73 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.3138, allocations: 80.14 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.3138, allocations: 31.72 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.3139, allocations: 21.7 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.314, allocations: 322.8 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3141, allocations: 31.97 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3143, allocations: 43.95 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.3146, allocations: 84.75 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3146, allocations: 3.938 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003719/0.315, allocations: 121.8 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.315, allocations: 4 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.315, allocations: 4.016 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.315, allocations: 64 / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.3152, allocations: 27.97 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3152, allocations: 3.984 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3154, allocations: 8 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3154, allocations: 7.984 kB / 1.122 GB, free: 13.73 MB / 1.076 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 (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 prepare postOptimizeDAE: time 8.806e-05/0.3155, allocations: 109.8 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3155, allocations: 7.938 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.3156, allocations: 12.06 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3156, allocations: 0 / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3156, allocations: 7.984 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3156, allocations: 0 / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3157, allocations: 131.5 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3157, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.316, allocations: 23.97 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.316, allocations: 0 / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.316, allocations: 7.984 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.316, allocations: 3.938 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.316, allocations: 0 / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.3166, allocations: 185 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.3166, allocations: 4.031 kB / 1.122 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3166, allocations: 0 / 1.122 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.3168, allocations: 19.86 kB / 1.122 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.3168, allocations: 7.984 kB / 1.122 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3169, allocations: 8.062 kB / 1.122 GB, free: 13.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.3169, allocations: 75.28 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3169, allocations: 0 / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002513/0.3171, allocations: 35.86 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001973/0.3173, allocations: 127.2 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.3177, allocations: 95.89 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3177, allocations: 0 / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3179, allocations: 47.89 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.3181, allocations: 8.188 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.3188, allocations: 170 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.356e-05/0.3188, allocations: 63.34 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000163/0.319, allocations: 31.92 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.319, allocations: 16.48 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.319, allocations: 0 / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of Templates: time 0.004545/0.3236, allocations: 1.565 MB / 1.125 GB, free: 10.93 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.206228862982243]