Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001098/0.001103, allocations: 105.2 kB / 16.36 MB, free: 5.824 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.001021/0.001021, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437.1 MB / 0.7112 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 68.81 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002357/0.2842, allocations: 1.291 MB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.2851, allocations: 0.5632 MB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.2851, allocations: 4 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.2852, allocations: 0 / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.2852, allocations: 7.922 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.2856, allocations: 91.58 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.2857, allocations: 23.8 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.2858, allocations: 4 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.2858, allocations: 11.94 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.2859, allocations: 11.98 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.2859, allocations: 0 / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.2861, allocations: 131.8 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.2862, allocations: 11.92 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.2862, allocations: 4 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2864, allocations: 95.77 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2864, allocations: 4 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2864, allocations: 0 / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2864, allocations: 4 kB / 1.021 GB, free: 7.559 MB / 0.795 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.0003669/0.2868, allocations: 347.4 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2868, allocations: 8.031 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.2872, allocations: 28.89 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2874, allocations: 168.3 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2874, allocations: 4.375 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2874, allocations: 384 / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2876, allocations: 54.2 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.2876, allocations: 192 / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2876, allocations: 3.938 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2876, allocations: 0 / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.2877, allocations: 19.98 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.2879, allocations: 157.6 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.288, allocations: 54.52 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.2881, allocations: 12.91 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2881, allocations: 4 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2881, allocations: 38.56 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.2882, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002839/0.2884, allocations: 81.53 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2885, allocations: 51.41 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.2886, allocations: 97.84 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2886, allocations: 25.7 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.2886, allocations: 80.14 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.2887, allocations: 15.97 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.2887, allocations: 13.72 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2888, allocations: 314.8 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.2889, allocations: 15.98 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.2889, allocations: 4 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.2891, allocations: 40.89 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2891, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001531/0.2892, allocations: 53.67 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2892, allocations: 10.81 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2893, allocations: 3.938 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2893, allocations: 0 / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2894, allocations: 15.92 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2894, allocations: 8.016 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.2895, allocations: 4 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2895, allocations: 0 / 1.023 GB, free: 5.633 MB / 0.795 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 7.408e-05/0.2896, allocations: 117.8 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.2896, allocations: 4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.2896, allocations: 11 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2896, allocations: 4 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2896, allocations: 0 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2896, allocations: 0 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.87e-05/0.2897, allocations: 153.7 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2897, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.2898, allocations: 11.98 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2898, allocations: 0 / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2899, allocations: 3.938 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2899, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2899, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.29, allocations: 93.03 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.2901, allocations: 81.02 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2901, allocations: 11.86 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.2902, allocations: 4 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.2902, allocations: 4 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.2902, allocations: 4.031 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.2903, allocations: 83.45 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2903, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001981/0.2905, allocations: 12 kB / 1.023 GB, free: 4.949 MB / 0.795 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.0001582/0.2906, allocations: 107.4 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.2908, allocations: 31.97 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2908, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.2909, allocations: 19.92 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.2911, allocations: 9.672 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.2915, allocations: 114.7 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2917, allocations: 0.673 MB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.709e-05/0.2917, allocations: 15.92 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.2918, allocations: 15.42 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2918, allocations: 0 / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of Templates: time 0.003148/0.2949, allocations: 0.7408 MB / 1.025 GB, free: 3.18 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches