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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 193.3 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.909/2.909, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.08 kB / 0.8984 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.365, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002591/0.3676, allocations: 1.347 MB / 1.053 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3688, allocations: 0.6738 MB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.3688, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.3688, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.3689, allocations: 7.922 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3693, allocations: 91.62 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.3693, allocations: 19.94 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.3694, allocations: 11.97 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.3694, allocations: 8 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.3695, allocations: 11.92 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3695, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.3698, allocations: 155.7 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.3698, allocations: 4 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.3698, allocations: 15.86 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.37, allocations: 96.05 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3701, allocations: 3.984 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3701, allocations: 0 / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3701, allocations: 4 kB / 1.054 GB, free: 6.402 MB / 0.8106 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.0005191/0.3706, allocations: 355.4 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3707, allocations: 11.97 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/0.3711, allocations: 24.91 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3712, allocations: 164.4 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3713, allocations: 8.375 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3713, allocations: 4.359 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3715, allocations: 54.22 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3715, allocations: 192 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3715, allocations: 3.938 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3715, allocations: 4 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3717, allocations: 23.97 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.3719, allocations: 173.4 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.3722, allocations: 66.52 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.3723, allocations: 28.94 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3723, allocations: 4 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3723, allocations: 34.55 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3724, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003653/0.376, allocations: 0.5759 MB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3761, allocations: 55.34 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.3762, allocations: 97.86 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3762, allocations: 25.7 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.3762, allocations: 80.14 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.3763, allocations: 27.64 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.3764, allocations: 21.7 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3765, allocations: 323 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.3766, allocations: 39.91 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3768, allocations: 35.97 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.3771, allocations: 84.81 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3771, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003547/0.3774, allocations: 121.6 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3775, allocations: 13.59 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3775, allocations: 4.062 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3775, allocations: 4 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.3777, allocations: 23.97 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3778, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3779, allocations: 7.984 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3779, allocations: 4 kB / 1.057 GB, free: 3.664 MB / 0.8106 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.0001022/0.378, allocations: 111.4 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3781, allocations: 7.938 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.873e-05/0.3782, allocations: 16.28 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3782, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3782, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3782, allocations: 3.984 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3784, allocations: 183.7 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3784, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3786, allocations: 27.97 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3786, allocations: 3.938 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.3786, allocations: 3.984 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.3786, allocations: 7.938 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3786, allocations: 0 / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.3792, allocations: 188.9 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.3792, allocations: 81.05 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3793, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.3795, allocations: 16.02 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.3795, allocations: 8.062 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3795, allocations: 3.984 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.3796, allocations: 83.22 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3796, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002474/0.3798, allocations: 39.92 kB / 1.058 GB, free: 2.801 MB / 0.8106 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.0002147/0.38, allocations: 123.2 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.3804, allocations: 91.95 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3804, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.3806, allocations: 39.97 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.3808, allocations: 19.92 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.3815, allocations: 176.1 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3819, allocations: 0.677 MB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.3821, allocations: 31.84 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.3822, allocations: 23.41 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3822, allocations: 0 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of Templates: time 0.004427/0.3866, allocations: 1.452 MB / 1.06 GB, free: 164 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches