Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 107.7 kB / 16.36 MB, free: 6.336 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.00181/0.00181, allocations: 194.8 kB / 17.29 MB, free: 5.883 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.315/1.315, 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.451/2.451, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 69.48 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2682, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002628/0.2709, allocations: 1.42 MB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.2719, allocations: 0.5905 MB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.272, allocations: 4 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.272, allocations: 3.938 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.2721, allocations: 3.938 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.2725, allocations: 95.56 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.2726, allocations: 31.84 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.2727, allocations: 8 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.2728, allocations: 7.984 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.2728, allocations: 11.94 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2728, allocations: 4 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.2731, allocations: 143.8 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.2731, allocations: 3.984 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.2732, allocations: 11.94 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.2734, allocations: 103.7 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2734, allocations: 4 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2734, allocations: 0 / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.2734, allocations: 7.938 kB / 1.021 GB, free: 7.426 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004311/0.2738, allocations: 355.4 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2739, allocations: 12.92 kB / 1.022 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.2743, allocations: 28.81 kB / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2745, allocations: 164.4 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2745, allocations: 4.375 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2745, allocations: 4.375 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2747, allocations: 66.2 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2748, allocations: 8.109 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2748, allocations: 3.938 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2748, allocations: 0 / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.275, allocations: 55.94 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.2755, allocations: 265 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.2757, allocations: 58.47 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.2758, allocations: 36.89 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.2758, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2759, allocations: 34.5 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.936e-06/0.2759, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0004786/0.2764, allocations: 121.5 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2764, allocations: 51.41 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.2765, allocations: 97.86 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2765, allocations: 25.7 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.2765, allocations: 95.95 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2766, allocations: 12.12 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.2766, allocations: 9.719 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.2767, allocations: 318.8 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2768, allocations: 19.98 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.277, allocations: 31.91 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.2772, allocations: 64.86 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2772, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002956/0.2775, allocations: 97.48 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2775, allocations: 4 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2776, allocations: 3.984 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2776, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2777, allocations: 11.98 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2777, allocations: 0 / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.2778, allocations: 11.98 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2778, allocations: 0 / 1.023 GB, free: 5.168 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.991e-05/0.2779, allocations: 121.8 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.278, allocations: 4 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.278, allocations: 7.062 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.278, allocations: 3.984 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.278, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.278, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.2782, allocations: 173.5 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2782, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.2783, allocations: 15.98 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2783, allocations: 0 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2784, allocations: 3.984 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2784, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2784, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.2787, allocations: 187.4 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.2788, allocations: 81.2 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.2788, allocations: 7.922 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2789, allocations: 4 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.279, allocations: 11.97 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.279, allocations: 3.938 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.279, allocations: 79.28 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2791, allocations: 4.031 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002543/0.2793, allocations: 16 kB / 1.024 GB, free: 4.363 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.0001668/0.2795, allocations: 111.2 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.2798, allocations: 51.94 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2798, allocations: 4.062 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2799, allocations: 31.95 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2802, allocations: 7.938 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.2807, allocations: 130.6 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2809, allocations: 0.6807 MB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.482e-05/0.281, allocations: 11.94 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.281, allocations: 11.42 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.281, allocations: 0 / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of Templates: time 0.003018/0.284, allocations: 0.7876 MB / 1.026 GB, free: 2.488 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches