Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008721/0.0008721, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002026, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.0007514/0.0007514, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009837/0.001735, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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 0.9965/0.9965, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.097, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.394/2.394, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2482/2.642, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.984e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003462/0.003492, allocations: 1.397 MB / 0.8203 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.00461, allocations: 0.6503 MB / 0.8209 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.00464, allocations: 3.938 kB / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.004653, allocations: 7.922 kB / 0.8209 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.367e-05/0.004686, allocations: 0 / 0.8209 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.00523, allocations: 103.4 kB / 0.821 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.005306, allocations: 23.86 kB / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.005356, allocations: 7.984 kB / 0.8211 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.00542, allocations: 15.98 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.005501, allocations: 15.92 kB / 0.8211 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.005516, allocations: 0 / 0.8211 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.005826, allocations: 143.7 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.005847, allocations: 7.938 kB / 0.8212 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.005866, allocations: 4 kB / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.006118, allocations: 99.67 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.006132, allocations: 0 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006133, allocations: 0 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.006149, allocations: 0 / 0.8213 GB, free: 15.98 MB / 0.8073 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.0005128/0.006662, allocations: 276.4 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.0067, allocations: 12.03 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/0.007113, allocations: 106 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.007223, allocations: 109.8 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.007236, allocations: 384 / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.007269, allocations: 12.31 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.007445, allocations: 92.56 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.007453, allocations: 192 / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.007466, allocations: 8.375 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.007473, allocations: 384 / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.007519, allocations: 15.92 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.007638, allocations: 61.05 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.007833, allocations: 50.58 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.007865, allocations: 12.86 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.007886, allocations: 3.938 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.007918, allocations: 42.56 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.007919, allocations: 0 / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.00259/0.01051, allocations: 476.8 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.01054, allocations: 55.41 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01071, allocations: 98.7 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.01074, allocations: 33.7 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.01077, allocations: 84.12 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.01081, allocations: 11.86 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.01086, allocations: 29.81 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.01094, allocations: 322.8 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.01097, allocations: 19.98 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.011, allocations: 16 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.01107, allocations: 56.75 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01107, allocations: 0 / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.721e-05/0.01117, allocations: 73.66 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01118, allocations: 12 kB / 0.8233 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01119, allocations: 0 / 0.8233 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.0112, allocations: 0 / 0.8233 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.01134, allocations: 31.95 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.01134, allocations: 3.938 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.01139, allocations: 7.938 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.0114, allocations: 3.984 kB / 0.8234 GB, free: 13.68 MB / 0.8073 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 6.527e-05/0.01146, allocations: 113.7 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.01148, allocations: 8 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.01152, allocations: 20.06 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01153, allocations: 336 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01153, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01153, allocations: 3.984 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.356e-05/0.01162, allocations: 85.8 kB / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01162, allocations: 0 / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.01172, allocations: 31.95 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.01173, allocations: 3.953 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01173, allocations: 4 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.01174, allocations: 4 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01175, allocations: 3.984 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01175, allocations: 0 / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.01192, allocations: 129 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.01193, allocations: 8.031 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.01199, allocations: 4 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.012, allocations: 7.984 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.01201, allocations: 4 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.899e-06/0.01202, allocations: 4.859 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01202, allocations: 0 / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001478/0.01217, allocations: 31.92 kB / 0.8238 GB, free: 13.17 MB / 0.8073 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.0001923/0.01236, allocations: 120.4 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.01247, allocations: 56.77 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.01247, allocations: 0 / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/0.01252, allocations: 40.77 kB / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.01265, allocations: 79.31 kB / 0.8241 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.01348, allocations: 148.5 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.048e-05/0.01351, allocations: 59.22 kB / 0.8243 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.443e-05/0.01361, allocations: 24 kB / 0.8243 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.01477, allocations: 67.34 kB / 0.8244 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of SimCode: time 1.162e-06/0.01477, allocations: 0 / 0.8244 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of Templates: time 0.004593/0.01936, allocations: 1.721 MB / 0.8261 GB, free: 10.85 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.222047561779618]