Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001371/0.001371, allocations: 108.1 kB / 16.46 MB, free: 6.457 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.001617/0.001617, allocations: 212.3 kB / 19.43 MB, free: 3.625 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.557/1.557, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.178/3.178, allocations: 0.4899 GB / 0.7916 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002035/0.002035, allocations: 67.58 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002363/0.3612, allocations: 1.297 MB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3623, allocations: 0.6468 MB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.3623, allocations: 0 / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.3623, allocations: 0 / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.3624, allocations: 7.922 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.3628, allocations: 103.5 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.43e-05/0.3629, allocations: 31.86 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.361e-05/0.363, allocations: 7.984 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.224e-05/0.363, allocations: 4 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.3631, allocations: 15.92 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3631, allocations: 4 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.3634, allocations: 147.8 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.3634, allocations: 4 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.3634, allocations: 19.86 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.3636, allocations: 95.75 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3636, allocations: 3.938 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3636, allocations: 0 / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.3636, allocations: 4 kB / 1.324 GB, free: 424 kB / 1.014 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.000534/0.3642, allocations: 359.2 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3642, allocations: 11.98 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004782/0.3647, allocations: 36.89 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3648, allocations: 168.4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3648, allocations: 384 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3649, allocations: 4.375 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3651, allocations: 54.22 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.3651, allocations: 4.125 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3651, allocations: 3.938 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3651, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.3652, allocations: 35.97 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.3654, allocations: 165.6 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.3658, allocations: 66.53 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.3659, allocations: 28.94 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3659, allocations: 0 / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3659, allocations: 34.5 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3659, allocations: 0 / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.003646/0.3696, allocations: 0.5798 MB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3696, allocations: 55.39 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.3697, allocations: 97.86 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3697, allocations: 25.7 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.3698, allocations: 80.14 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.3698, allocations: 23.8 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.3699, allocations: 25.69 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.37, allocations: 315 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3702, allocations: 43.91 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3703, allocations: 35.97 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.3706, allocations: 88.75 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3706, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000411/0.371, allocations: 125.8 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3711, allocations: 7.938 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3711, allocations: 3.984 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3711, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.3713, allocations: 27.97 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3713, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3715, allocations: 4 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3715, allocations: 16.05 kB / 1.326 GB, free: 13.65 MB / 1.029 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.913e-05/0.3716, allocations: 105.8 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.3716, allocations: 15.83 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.3717, allocations: 11.97 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3717, allocations: 336 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3717, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3717, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3719, allocations: 187.7 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3719, allocations: 3.984 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3721, allocations: 27.97 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3721, allocations: 3.938 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3721, allocations: 7.922 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3721, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3721, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.3727, allocations: 193 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.3728, allocations: 81.05 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3728, allocations: 0 / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.373, allocations: 19.95 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.373, allocations: 4 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.373, allocations: 8.047 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.3731, allocations: 79.28 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3731, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002572/0.3733, allocations: 31.94 kB / 1.327 GB, free: 12.79 MB / 1.029 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.0002263/0.3735, allocations: 131 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.3739, allocations: 88.02 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3739, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.3741, allocations: 47.89 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3743, allocations: 8 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.375, allocations: 179.8 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.3754, allocations: 0.6807 MB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000155/0.3755, allocations: 27.94 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.3756, allocations: 15.42 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3756, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of Templates: time 0.004587/0.3802, allocations: 1.513 MB / 1.329 GB, free: 10.09 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.869703569915146]