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.001531/0.001531, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.00169/0.00169, allocations: 192.9 kB / 16.25 MB, free: 6.625 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 65.05 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3446, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002471/0.3471, allocations: 1.354 MB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.3482, allocations: 0.6465 MB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.3482, allocations: 3.938 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.3482, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.3483, allocations: 11.92 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.3488, allocations: 91.7 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.3488, allocations: 27.86 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.3489, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.3489, allocations: 19.97 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.349, allocations: 15.92 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.349, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.3493, allocations: 155.7 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.3493, allocations: 0 / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.3493, allocations: 11.94 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3495, allocations: 92.11 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3495, allocations: 0 / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3496, allocations: 0 / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3496, allocations: 0 / 1.055 GB, free: 6.387 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.0005618/0.3501, allocations: 363.3 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3502, allocations: 12.61 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.3506, allocations: 24.91 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3507, allocations: 168.4 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3508, allocations: 384 / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3508, allocations: 4.312 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.351, allocations: 70.19 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.351, allocations: 192 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.351, allocations: 3.938 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.351, allocations: 4 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3512, allocations: 23.97 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.3514, allocations: 169.4 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.3517, allocations: 70.52 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.3518, allocations: 24.94 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3518, allocations: 0 / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3519, allocations: 38.56 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3519, allocations: 3.938 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003632/0.3555, allocations: 0.572 MB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.3556, allocations: 55.41 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.3556, allocations: 93.86 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3556, allocations: 29.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.3557, allocations: 80.14 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.3557, allocations: 23.69 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.3558, allocations: 21.7 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3559, allocations: 322.8 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.3561, allocations: 36.09 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3562, allocations: 39.91 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.3565, allocations: 84.81 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3565, allocations: 4 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003441/0.3568, allocations: 113.6 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3569, allocations: 9.031 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3569, allocations: 3.938 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3569, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.3571, allocations: 31.97 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3571, allocations: 3.938 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3573, allocations: 4 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3573, allocations: 7.984 kB / 1.057 GB, free: 3.637 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 8.435e-05/0.3574, allocations: 109.8 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.3575, allocations: 7.938 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.3575, allocations: 11.97 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3575, allocations: 3.984 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3575, allocations: 64 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3576, allocations: 7.938 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3577, allocations: 183.7 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3577, allocations: 0 / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.358, allocations: 23.97 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/0.358, allocations: 7.938 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.358, allocations: 4 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.358, allocations: 4 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.358, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.3586, allocations: 197.2 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.3586, allocations: 81.05 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3587, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3589, allocations: 12.02 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.3589, allocations: 7.984 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.3589, allocations: 3.984 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.287e-05/0.3589, allocations: 83.34 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.359, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002691/0.3592, allocations: 35.94 kB / 1.058 GB, free: 2.773 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.0002247/0.3595, allocations: 123.2 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.3598, allocations: 99.95 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3598, allocations: 0 / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.36, allocations: 43.97 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3603, allocations: 11.92 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006604/0.3609, allocations: 166.2 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3612, allocations: 0.6844 MB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.3614, allocations: 31.88 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.3615, allocations: 23.41 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3615, allocations: 0 / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of Templates: time 0.004266/0.3658, allocations: 1.494 MB / 1.06 GB, free: 92 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