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.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.001562/0.001562, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001958/0.001958, allocations: 200.4 kB / 22.17 MB, free: 5.211 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.53/1.53, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.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: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002797/1.024, allocations: 1.298 MB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001151/1.026, allocations: 0.6481 MB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/1.026, allocations: 0 / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/1.026, allocations: 3.984 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/1.026, allocations: 3.938 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/1.026, allocations: 107.5 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/1.026, allocations: 31.8 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/1.026, allocations: 4 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/1.026, allocations: 8 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/1.026, allocations: 15.91 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/1.026, allocations: 4 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/1.027, allocations: 143.7 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/1.027, allocations: 7.969 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/1.027, allocations: 8 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/1.027, allocations: 102.4 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.027, allocations: 0 / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/1.027, allocations: 0 / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.027, allocations: 4 kB / 1.276 GB, free: 2.129 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.0005339/1.027, allocations: 351.3 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.027, allocations: 8.031 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/1.028, allocations: 24.91 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.028, allocations: 176.3 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.028, allocations: 4.375 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/1.028, allocations: 8.359 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/1.028, allocations: 58.16 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.028, allocations: 192 / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/1.028, allocations: 3.938 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.028, allocations: 4 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/1.028, allocations: 23.97 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/1.029, allocations: 173.5 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/1.029, allocations: 62.58 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.086e-05/1.029, allocations: 32.92 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/1.029, allocations: 8 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/1.029, allocations: 34.5 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.029, allocations: 0 / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.003488/1.033, allocations: 0.5798 MB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/1.033, allocations: 51.41 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.033, allocations: 101.8 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/1.033, allocations: 25.7 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/1.033, allocations: 80.14 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/1.033, allocations: 23.8 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/1.033, allocations: 25.69 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.033, allocations: 315 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/1.033, allocations: 35.97 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.033, allocations: 39.97 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/1.034, allocations: 88.73 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/1.034, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003807/1.034, allocations: 125.7 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.034, allocations: 11.94 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.034, allocations: 0 / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.807e-05/1.034, allocations: 4 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/1.034, allocations: 19.97 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.034, allocations: 4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/1.035, allocations: 7.984 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/1.035, allocations: 3.984 kB / 1.279 GB, free: 15.38 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.0001129/1.035, allocations: 117.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/1.035, allocations: 7.875 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/1.035, allocations: 19.91 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/1.035, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.035, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.035, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/1.035, allocations: 180.1 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.035, allocations: 4 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/1.035, allocations: 23.97 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.035, allocations: 7.938 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/1.035, allocations: 3.984 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.035, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.035, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/1.036, allocations: 205 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/1.036, allocations: 88.98 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/1.036, allocations: 0 / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/1.036, allocations: 8 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/1.036, allocations: 8.047 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/1.036, allocations: 8 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.216e-05/1.036, allocations: 79.27 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.036, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002404/1.036, allocations: 27.94 kB / 1.28 GB, free: 14.51 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.0002324/1.037, allocations: 131.6 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003574/1.037, allocations: 88.02 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.037, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/1.037, allocations: 51.89 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/1.037, allocations: 8.5 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/1.038, allocations: 177.8 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/1.038, allocations: 0.6807 MB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001515/1.039, allocations: 31.92 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/1.039, allocations: 15.42 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.039, allocations: 0 / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.004433/1.043, allocations: 1.531 MB / 1.282 GB, free: 11.8 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 -s cvode -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_2/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.331697720102966]