Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 292.6 MB / 307.8 MB, free: 7.102 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 196.8 kB / 376.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.7 MB / 0.655 GB, free: 13.03 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007651/0.0007651, allocations: 94.36 kB / 0.7711 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 15.98 kB / 0.897 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5566, allocations: 118.2 MB / 1.012 GB, free: 58.18 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001244/0.5579, allocations: 1.005 MB / 1.013 GB, free: 58.16 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.5587, allocations: 0.5924 MB / 1.014 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.5587, allocations: 2.25 kB / 1.014 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.5588, allocations: 8.688 kB / 1.014 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.5588, allocations: 0 / 1.014 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.5592, allocations: 97.38 kB / 1.014 GB, free: 58.1 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.972e-05/0.5593, allocations: 22.7 kB / 1.014 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.5593, allocations: 5.078 kB / 1.014 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.206e-05/0.5593, allocations: 8.141 kB / 1.014 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.5594, allocations: 15.34 kB / 1.014 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.5594, allocations: 0 / 1.014 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.5597, allocations: 145.8 kB / 1.014 GB, free: 58.08 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.5597, allocations: 11.03 kB / 1.014 GB, free: 58.08 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.5597, allocations: 34.48 kB / 1.014 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.5599, allocations: 73.7 kB / 1.014 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5599, allocations: 0 / 1.014 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5599, allocations: 2.344 kB / 1.014 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.5599, allocations: 0 / 1.014 GB, free: 58.04 MB / 0.7136 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.0003549/0.5602, allocations: 352 kB / 1.015 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5603, allocations: 9.625 kB / 1.015 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.5607, allocations: 29.94 kB / 1.015 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.5608, allocations: 168.8 kB / 1.015 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.5608, allocations: 1.375 kB / 1.015 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.5608, allocations: 6.375 kB / 1.015 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.561, allocations: 65.62 kB / 1.015 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.561, allocations: 192 / 1.015 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.561, allocations: 3.938 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.561, allocations: 0 / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.5612, allocations: 28.11 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.5613, allocations: 160.2 kB / 1.015 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.5616, allocations: 65.08 kB / 1.015 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.5617, allocations: 25.23 kB / 1.015 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5617, allocations: 7.875 kB / 1.015 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.5617, allocations: 38.03 kB / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5617, allocations: 5.375 kB / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.003174/0.5649, allocations: 0.5687 MB / 1.016 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.565, allocations: 55.22 kB / 1.016 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.565, allocations: 100.9 kB / 1.016 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.565, allocations: 26.77 kB / 1.016 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.529e-05/0.5651, allocations: 81.17 kB / 1.016 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.5651, allocations: 24.09 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.5651, allocations: 0 / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.5652, allocations: 315.9 kB / 1.016 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.5653, allocations: 35.47 kB / 1.016 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.5654, allocations: 40.67 kB / 1.017 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.5657, allocations: 85.2 kB / 1.017 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5657, allocations: 1.156 kB / 1.017 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003049/0.566, allocations: 124.9 kB / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.566, allocations: 10.91 kB / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.566, allocations: 0 / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.566, allocations: 1.688 kB / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.5663, allocations: 23.78 kB / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5663, allocations: 0 / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.5664, allocations: 5.969 kB / 1.017 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.5665, allocations: 8.5 kB / 1.017 GB, free: 56.27 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.5665, allocations: 116.8 kB / 1.017 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.5665, allocations: 10.72 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/0.5666, allocations: 14.5 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5666, allocations: 0 / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5666, allocations: 1.25 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5666, allocations: 0 / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.5668, allocations: 194.2 kB / 1.017 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5668, allocations: 0 / 1.017 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.567, allocations: 26.03 kB / 1.017 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.567, allocations: 11.12 kB / 1.017 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.567, allocations: 3.141 kB / 1.017 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5671, allocations: 0 / 1.017 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5671, allocations: 2.844 kB / 1.017 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.5676, allocations: 192.8 kB / 1.017 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.5676, allocations: 84.17 kB / 1.017 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.5677, allocations: 6.156 kB / 1.017 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.5679, allocations: 5.25 kB / 1.017 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.5679, allocations: 9.547 kB / 1.017 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.5679, allocations: 7.141 kB / 1.017 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.059e-05/0.5679, allocations: 75.91 kB / 1.017 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5679, allocations: 0 / 1.017 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002424/0.5682, allocations: 29.25 kB / 1.018 GB, free: 55.69 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002073/0.5684, allocations: 136.3 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.5687, allocations: 87.83 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5688, allocations: 0 / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5689, allocations: 55.53 kB / 1.018 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.5691, allocations: 5.25 kB / 1.018 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.5697, allocations: 183.2 kB / 1.018 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.5698, allocations: 0.6833 MB / 1.019 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.5701, allocations: 25.44 kB / 1.019 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.5701, allocations: 21.27 kB / 1.019 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of SimCode: time 3.2e-07/0.5702, allocations: 0 / 1.019 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.003479/0.5736, allocations: 1.445 MB / 1.02 GB, free: 54.64 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)