Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001502, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001689/0.001689, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.14/2.14, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 65.44 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002174/0.2694, allocations: 1.343 MB / 0.9511 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008241/0.2703, allocations: 0.5655 MB / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.2703, allocations: 0 / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.2703, allocations: 0 / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.2704, allocations: 7.922 kB / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.2708, allocations: 79.7 kB / 0.9517 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.948e-05/0.2708, allocations: 27.88 kB / 0.9517 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.2709, allocations: 0 / 0.9517 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.279e-05/0.2709, allocations: 15.81 kB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.271, allocations: 7.984 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.271, allocations: 0 / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.2712, allocations: 147.8 kB / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.138e-06/0.2713, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.2713, allocations: 7.938 kB / 0.9519 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.2714, allocations: 64.16 kB / 0.952 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2714, allocations: 0 / 0.952 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2714, allocations: 0 / 0.952 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.2715, allocations: 7.938 kB / 0.952 GB, free: 6.953 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003354/0.2718, allocations: 351.4 kB / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2718, allocations: 8.031 kB / 0.9523 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.2723, allocations: 24.91 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2724, allocations: 160.4 kB / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2724, allocations: 8.359 kB / 0.9525 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2724, allocations: 12.31 kB / 0.9525 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2726, allocations: 46.23 kB / 0.9526 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.2726, allocations: 192 / 0.9526 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2726, allocations: 3.938 kB / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2726, allocations: 3.984 kB / 0.9526 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.2727, allocations: 23.97 kB / 0.9526 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.2729, allocations: 161.6 kB / 0.9528 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2731, allocations: 46.52 kB / 0.9528 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.2731, allocations: 12.92 kB / 0.9528 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2732, allocations: 3.984 kB / 0.9528 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2732, allocations: 38.56 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2732, allocations: 0 / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002895/0.2735, allocations: 81.44 kB / 0.9529 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2735, allocations: 51.41 kB / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.067e-05/0.2736, allocations: 97.86 kB / 0.9531 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2736, allocations: 25.7 kB / 0.9531 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.2737, allocations: 84.27 kB / 0.9532 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.2737, allocations: 3.906 kB / 0.9532 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.2737, allocations: 21.7 kB / 0.9532 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.2738, allocations: 310.8 kB / 0.9535 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.2739, allocations: 11.98 kB / 0.9535 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.274, allocations: 11.98 kB / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.2741, allocations: 32.91 kB / 0.9536 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2741, allocations: 0 / 0.9536 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001687/0.2743, allocations: 61.61 kB / 0.9536 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2743, allocations: 4 kB / 0.9536 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2743, allocations: 7.938 kB / 0.9536 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2743, allocations: 7.969 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.2744, allocations: 7.984 kB / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2744, allocations: 0 / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.2745, allocations: 7.984 kB / 0.9536 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.2745, allocations: 0 / 0.9536 GB, free: 5.027 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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 6.651e-05/0.2746, allocations: 111.8 kB / 0.9538 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.2746, allocations: 4 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.2747, allocations: 15.06 kB / 0.9538 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2747, allocations: 3.938 kB / 0.9538 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2747, allocations: 0 / 0.9538 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2747, allocations: 0 / 0.9538 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2748, allocations: 161.6 kB / 0.9539 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2748, allocations: 0 / 0.9539 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.2749, allocations: 4 kB / 0.9539 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2749, allocations: 4 kB / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2749, allocations: 7.922 kB / 0.9539 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2749, allocations: 0 / 0.9539 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2749, allocations: 4 kB / 0.9539 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.2751, allocations: 85.08 kB / 0.954 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.2752, allocations: 85 kB / 0.9541 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2752, allocations: 7.938 kB / 0.9541 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.2753, allocations: 4.031 kB / 0.9541 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-06/0.2753, allocations: 4 kB / 0.9541 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.2753, allocations: 3.984 kB / 0.9541 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.2754, allocations: 79.28 kB / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2754, allocations: 0 / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002054/0.2756, allocations: 20 kB / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001552/0.2758, allocations: 107.2 kB / 0.9543 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.2759, allocations: 31.97 kB / 0.9544 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.276, allocations: 3.938 kB / 0.9544 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.276, allocations: 15.98 kB / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2763, allocations: 5.5 kB / 0.9544 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.2766, allocations: 152.5 kB / 0.9545 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.2768, allocations: 0.6805 MB / 0.9552 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.2769, allocations: 7.438 kB / 0.9552 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2769, allocations: 0 / 0.9552 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of Templates: time 0.00209/0.279, allocations: 0.7937 MB / 0.956 GB, free: 2.488 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches