Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.711/1.711, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.0009198/0.0009198, allocations: 179.3 kB / 393.1 MB, free: 4.09 MB / 314.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.438/1.438, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008422, allocations: 94.41 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003395, allocations: 8 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5504, allocations: 121.3 MB / 1.041 GB, free: 58.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001252/0.5517, allocations: 1.012 MB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.5528, allocations: 1.082 MB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.464e-05/0.5528, allocations: 0 / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.5528, allocations: 0.9375 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.5529, allocations: 5.125 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.5532, allocations: 98.19 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.987e-05/0.5533, allocations: 21.03 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.5533, allocations: 0.6562 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.5534, allocations: 10.53 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.5534, allocations: 14.92 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.5534, allocations: 0 / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.5537, allocations: 151.8 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.5537, allocations: 1.406 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.5538, allocations: 35.83 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.554, allocations: 106.1 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.554, allocations: 0 / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.554, allocations: 0 / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.554, allocations: 0 / 1.043 GB, free: 56.54 MB / 0.698 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.000392/0.5544, allocations: 353 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5544, allocations: 8.719 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.5549, allocations: 27 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.714e-05/0.555, allocations: 166.7 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.555, allocations: 5.922 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.555, allocations: 4.375 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.5552, allocations: 59.59 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5552, allocations: 5.062 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5552, allocations: 3.938 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5552, allocations: 0 / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.5554, allocations: 31.27 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.5555, allocations: 164 kB / 1.044 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.5558, allocations: 70.44 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.5559, allocations: 31.31 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.5559, allocations: 3.344 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.5559, allocations: 30.56 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.556, allocations: 0 / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.003187/0.5591, allocations: 0.5737 MB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.5592, allocations: 51.41 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.281e-05/0.5592, allocations: 96.02 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5593, allocations: 33.77 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.501e-05/0.5593, allocations: 81.05 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.5593, allocations: 25.31 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.5593, allocations: 1.5 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.5594, allocations: 310.8 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5595, allocations: 38.27 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.5596, allocations: 47.36 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.5599, allocations: 78.53 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5599, allocations: 0 / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002996/0.5602, allocations: 126.2 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5602, allocations: 13.03 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.5602, allocations: 0 / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5602, allocations: 1.031 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.5604, allocations: 23.22 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5605, allocations: 0 / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.5606, allocations: 11.25 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.5606, allocations: 14.06 kB / 1.046 GB, free: 54.54 MB / 0.698 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 5.442e-05/0.5607, allocations: 109.8 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.5607, allocations: 7.375 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.5608, allocations: 11.75 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-06/0.5608, allocations: 4 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.5608, allocations: 0 / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5608, allocations: 1.266 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.5609, allocations: 191.5 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5609, allocations: 0 / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.5612, allocations: 20.88 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5612, allocations: 3.938 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.5612, allocations: 6.875 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5612, allocations: 0 / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5612, allocations: 0 / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.5617, allocations: 191.8 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.5617, allocations: 87.53 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.5617, allocations: 4.062 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.5619, allocations: 14.83 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.5619, allocations: 8.391 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.562, allocations: 3.703 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.695e-05/0.562, allocations: 77.34 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.562, allocations: 0 / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002179/0.5622, allocations: 35.03 kB / 1.046 GB, free: 53.89 MB / 0.698 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.0001784/0.5624, allocations: 132.5 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.5627, allocations: 90.34 kB / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5627, allocations: 0 / 1.047 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.5629, allocations: 45.72 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.5631, allocations: 7.906 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.5637, allocations: 178.6 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.5638, allocations: 0.6812 MB / 1.048 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.564, allocations: 34.62 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.5641, allocations: 15.95 kB / 1.048 GB, free: 52.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.5641, allocations: 0 / 1.048 GB, free: 52.9 MB / 0.698 GB Notification: Performance of Templates: time 0.003481/0.5676, allocations: 1.46 MB / 1.049 GB, free: 52.77 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)