Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001322/0.001322, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001523/0.001523, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.441/1.441, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.4 MB / 0.7304 GB, free: 13.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.059 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002332/0.3084, allocations: 1.304 MB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3095, allocations: 0.6483 MB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.592e-05/0.3095, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.3095, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.3096, allocations: 7.922 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.31, allocations: 103.5 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.672e-05/0.3101, allocations: 31.91 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.3101, allocations: 4 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.3101, allocations: 15.92 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.3102, allocations: 7.984 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3102, allocations: 8 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.3105, allocations: 147.7 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.3105, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.3105, allocations: 11.94 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3107, allocations: 99.69 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3107, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3107, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3107, allocations: 0 / 1.218 GB, free: 12.87 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005062/0.3112, allocations: 355.2 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.3113, allocations: 12.03 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.3117, allocations: 28.89 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3118, allocations: 160.4 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3119, allocations: 8.312 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3119, allocations: 8.266 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3121, allocations: 62.22 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3121, allocations: 192 / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3121, allocations: 7.922 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3121, allocations: 0 / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3122, allocations: 23.98 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.3124, allocations: 165.7 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.3128, allocations: 74.5 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.3129, allocations: 20.94 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3129, allocations: 4 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3129, allocations: 34.56 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3129, allocations: 4 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.003684/0.3166, allocations: 0.5681 MB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3166, allocations: 55.41 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.3167, allocations: 97.8 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3167, allocations: 33.7 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.3168, allocations: 84.14 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.3168, allocations: 15.84 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.3169, allocations: 25.7 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.317, allocations: 318.8 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3172, allocations: 40.09 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3173, allocations: 47.89 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.3176, allocations: 76.81 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3176, allocations: 0 / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003623/0.3179, allocations: 121.6 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.318, allocations: 7.938 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.318, allocations: 4 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.318, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.3182, allocations: 19.97 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3182, allocations: 7.875 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.3184, allocations: 16.06 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3184, allocations: 3.984 kB / 1.221 GB, free: 10.12 MB / 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 (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 9.287e-05/0.3185, allocations: 113.8 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.3185, allocations: 7.891 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.3186, allocations: 11.97 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3186, allocations: 4 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3186, allocations: 0 / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.3186, allocations: 3.984 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.3188, allocations: 179.7 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3188, allocations: 3.984 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.319, allocations: 19.97 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.319, allocations: 7.938 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.319, allocations: 8 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.319, allocations: 0 / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.319, allocations: 0 / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.3196, allocations: 193 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.3197, allocations: 89.03 kB / 1.221 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.3197, allocations: 0 / 1.221 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.3199, allocations: 15.92 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.32, allocations: 0 / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.32, allocations: 7.984 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.32, allocations: 75.28 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.32, allocations: 4.156 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002978/0.3203, allocations: 35.88 kB / 1.222 GB, free: 9.258 MB / 0.9669 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.0002698/0.3206, allocations: 133.1 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.321, allocations: 83.88 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.321, allocations: 4 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3211, allocations: 47.95 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3214, allocations: 5.828 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007412/0.3221, allocations: 177.9 kB / 1.222 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3225, allocations: 0.6807 MB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.3227, allocations: 36.19 kB / 1.223 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.3227, allocations: 15.42 kB / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of SimCode: time 4.7e-07/0.3227, allocations: 0 / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of Templates: time 0.004624/0.3274, allocations: 1.546 MB / 1.224 GB, free: 6.523 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.963784930296242]