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.001877/0.001877, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002375/0.002375, allocations: 216 kB / 22.25 MB, free: 4.855 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.781 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.881/2.881, allocations: 476 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] 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.002147/0.002147, allocations: 68.41 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 170 MB / 1.283 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002673/0.3348, allocations: 1.306 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.336, allocations: 0.5977 MB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.3361, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.3361, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.3361, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.3366, allocations: 111.5 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.3367, allocations: 23.92 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.3367, allocations: 0 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.3368, allocations: 23.86 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.3368, allocations: 4 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3369, allocations: 0 / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.3371, allocations: 135.8 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.3372, allocations: 11.92 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.3372, allocations: 11.98 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.3374, allocations: 99.7 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3374, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3374, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3374, allocations: 0 / 1.285 GB, free: 9.703 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005464/0.338, allocations: 290.1 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.338, allocations: 12.03 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.3385, allocations: 28.89 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3386, allocations: 110.5 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3386, allocations: 4.375 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3386, allocations: 4.375 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3388, allocations: 83.92 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3388, allocations: 4.188 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3389, allocations: 7.922 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3389, allocations: 0 / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.339, allocations: 27.97 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.3392, allocations: 117.2 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.3395, allocations: 70.52 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.821e-05/0.3396, allocations: 28.88 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3396, allocations: 0 / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3397, allocations: 38.5 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3397, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003763/0.3434, allocations: 0.5046 MB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3435, allocations: 55.41 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.3436, allocations: 93.8 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.3436, allocations: 33.7 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.3436, allocations: 80.14 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.3437, allocations: 19.78 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.3438, allocations: 25.7 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3439, allocations: 318.8 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3441, allocations: 40.09 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3442, allocations: 35.97 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.3445, allocations: 84.95 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3445, allocations: 4 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003666/0.3449, allocations: 117.6 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3449, allocations: 8 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3449, allocations: 3.938 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3449, allocations: 3.938 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.3451, allocations: 23.97 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3451, allocations: 8 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.3453, allocations: 4 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.3453, allocations: 3.984 kB / 1.288 GB, free: 7.234 MB / 0.9825 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 0.0001239/0.3454, allocations: 113.8 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.3454, allocations: 0 / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.3455, allocations: 23.98 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3455, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3455, allocations: 3.938 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3455, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.3457, allocations: 123.4 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3457, allocations: 0 / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.346, allocations: 19.97 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.346, allocations: 4 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.346, allocations: 11.92 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.346, allocations: 8 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.346, allocations: 3.938 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.3468, allocations: 189 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.3469, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.3469, allocations: 4.062 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.3471, allocations: 20.28 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.3472, allocations: 7.984 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3472, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.3472, allocations: 83.27 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3472, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004233/0.3477, allocations: 31.94 kB / 1.288 GB, free: 6.539 MB / 0.9825 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.0002852/0.3479, allocations: 131.2 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.3484, allocations: 87.86 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3484, allocations: 0 / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3486, allocations: 43.95 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.349, allocations: 14.23 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.3499, allocations: 174 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.194e-05/0.35, allocations: 59.36 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.3503, allocations: 35.86 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.3504, allocations: 15.42 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3504, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of Templates: time 0.005013/0.3554, allocations: 1.579 MB / 1.29 GB, free: 4.422 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.259785283356905]