Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.171/2.171, allocations: 254.9 MB / 269.9 MB, free: 9.617 MB / 218.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.001366/0.001366, allocations: 187.2 kB / 329.5 MB, free: 1.145 MB / 250.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 2.488/2.488, allocations: 225.6 MB / 0.6001 GB, free: 492 kB / 426.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.001455/0.001454, allocations: 112.6 kB / 0.7074 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005324, allocations: 12.44 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2093, allocations: 109.1 MB / 0.9308 GB, free: 24.87 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001957/0.2113, allocations: 1.005 MB / 0.9318 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.213, allocations: 0.5971 MB / 0.9324 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.213, allocations: 0 / 0.9324 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.2131, allocations: 0 / 0.9324 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.076e-05/0.2132, allocations: 7.922 kB / 0.9324 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.2138, allocations: 87.69 kB / 0.9324 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.2139, allocations: 23.86 kB / 0.9325 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.214, allocations: 4 kB / 0.9325 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.214, allocations: 4 kB / 0.9325 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.2141, allocations: 19.92 kB / 0.9325 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2141, allocations: 7.938 kB / 0.9325 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.2146, allocations: 143.8 kB / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.2147, allocations: 7.922 kB / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.2147, allocations: 29.7 kB / 0.9327 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.215, allocations: 64.16 kB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.215, allocations: 0 / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.507e-06/0.215, allocations: 3.984 kB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.215, allocations: 0 / 0.9327 GB, free: 22.86 MB / 0.5886 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.0005762/0.2156, allocations: 347.5 kB / 0.9331 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.2157, allocations: 11.97 kB / 0.9331 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008492/0.2165, allocations: 32.89 kB / 0.9331 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2167, allocations: 160.4 kB / 0.9333 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.2167, allocations: 384 / 0.9333 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.2168, allocations: 8.375 kB / 0.9333 GB, free: 22.22 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.2171, allocations: 54.22 kB / 0.9333 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2171, allocations: 4.125 kB / 0.9333 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.2172, allocations: 11.92 kB / 0.9333 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2172, allocations: 0 / 0.9333 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.2175, allocations: 19.98 kB / 0.9334 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.2177, allocations: 177.5 kB / 0.9335 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.2183, allocations: 66.58 kB / 0.9336 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.2185, allocations: 28.94 kB / 0.9336 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.2186, allocations: 0 / 0.9336 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.2186, allocations: 38.5 kB / 0.9337 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.836e-06/0.2186, allocations: 4 kB / 0.9337 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.007526/0.2262, allocations: 0.5762 MB / 0.9342 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.2263, allocations: 55.41 kB / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.2264, allocations: 97.86 kB / 0.9344 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2264, allocations: 25.7 kB / 0.9344 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.2265, allocations: 80.14 kB / 0.9345 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.2265, allocations: 27.64 kB / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.2266, allocations: 0 / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.2267, allocations: 310.8 kB / 0.9348 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.227, allocations: 44.09 kB / 0.9348 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.2272, allocations: 39.95 kB / 0.9349 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.2276, allocations: 35.97 kB / 0.9349 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2276, allocations: 0 / 0.9349 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000778/0.2284, allocations: 125.6 kB / 0.935 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.2284, allocations: 7.938 kB / 0.935 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.2285, allocations: 4 kB / 0.935 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2285, allocations: 0 / 0.935 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.229, allocations: 19.97 kB / 0.9351 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.229, allocations: 0 / 0.9351 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.2294, allocations: 12 kB / 0.9351 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.2294, allocations: 7.922 kB / 0.9351 GB, free: 20.2 MB / 0.5886 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 0.0001359/0.2296, allocations: 113.8 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.2297, allocations: 3.938 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.2298, allocations: 11.97 kB / 0.9352 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2298, allocations: 4 kB / 0.9352 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2298, allocations: 0 / 0.9352 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2298, allocations: 4.047 kB / 0.9352 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.2301, allocations: 191.4 kB / 0.9354 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.2301, allocations: 7.922 kB / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.2306, allocations: 19.97 kB / 0.9354 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.2307, allocations: 7.938 kB / 0.9354 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.2307, allocations: 0 / 0.9354 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2307, allocations: 4 kB / 0.9354 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2308, allocations: 0 / 0.9354 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2319, allocations: 192.9 kB / 0.9356 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.232, allocations: 85.08 kB / 0.9357 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.2321, allocations: 0 / 0.9357 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.2325, allocations: 11.98 kB / 0.9357 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.2326, allocations: 4 kB / 0.9357 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.2326, allocations: 7.984 kB / 0.9357 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.2327, allocations: 79.22 kB / 0.9358 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2327, allocations: 0 / 0.9358 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005984/0.2333, allocations: 36.09 kB / 0.9358 GB, free: 19.33 MB / 0.5886 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.0003808/0.2337, allocations: 143.7 kB / 0.936 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008026/0.2346, allocations: 83.88 kB / 0.936 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.2346, allocations: 4 kB / 0.936 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.235, allocations: 47.89 kB / 0.9361 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.2355, allocations: 8 kB / 0.9361 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.2367, allocations: 174.5 kB / 0.9363 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.237, allocations: 0.6809 MB / 0.9369 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005709/0.2375, allocations: 27.98 kB / 0.937 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.2377, allocations: 15.42 kB / 0.937 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of SimCode: time 1.533e-06/0.2377, allocations: 0 / 0.937 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.007183/0.2449, allocations: 1.449 MB / 0.9384 GB, free: 16.65 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)