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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001132/0.001132, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001248/0.001248, allocations: 190.4 kB / 16.25 MB, free: 6.152 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6318/0.6331, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002676/0.6358, allocations: 1.35 MB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000919/0.6368, allocations: 0.5656 MB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.6368, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.6368, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.6369, allocations: 3.938 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.6373, allocations: 87.64 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.6374, allocations: 19.81 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.6374, allocations: 8 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.6375, allocations: 11.98 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.6375, allocations: 7.984 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.6376, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.6378, allocations: 147.7 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.6378, allocations: 3.938 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.6379, allocations: 7.984 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.6381, allocations: 89.81 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6381, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6381, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.6381, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 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.0003488/0.6385, allocations: 351.4 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6385, allocations: 8.031 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.639, allocations: 28.91 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.6391, allocations: 172.3 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.6391, allocations: 4.359 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.6392, allocations: 384 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.6393, allocations: 54.23 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.6393, allocations: 192 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.6394, allocations: 3.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.6394, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.6395, allocations: 19.97 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.6397, allocations: 157.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.6398, allocations: 54.5 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.789e-05/0.6399, allocations: 12.92 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.6399, allocations: 7.984 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.64, allocations: 30.56 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 6.322e-06/0.64, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003186/0.6403, allocations: 81.44 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.6403, allocations: 51.41 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.6404, allocations: 93.86 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.6404, allocations: 25.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.6405, allocations: 84.14 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.6405, allocations: 11.97 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.6405, allocations: 17.7 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.6406, allocations: 310.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.6407, allocations: 19.92 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.6408, allocations: 11.98 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.6409, allocations: 32.91 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.6409, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/0.6411, allocations: 53.67 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6411, allocations: 8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6411, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.6411, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.6413, allocations: 15.95 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6413, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.6413, allocations: 11.98 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.6414, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 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.075e-05/0.6414, allocations: 106.4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.6415, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.6415, allocations: 7.062 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.6415, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6415, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.6415, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.6416, allocations: 157.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6416, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.6417, allocations: 8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6417, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.6418, allocations: 7.922 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6418, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6418, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.642, allocations: 89.05 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.642, allocations: 85 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.6421, allocations: 11.88 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.6421, allocations: 8 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.6422, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.6422, allocations: 8.016 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.6422, allocations: 79.28 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6422, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002101/0.6424, allocations: 12 kB / 1.021 GB, free: 13.8 MB / 0.7794 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.0001715/0.6426, allocations: 119.2 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.6428, allocations: 35.97 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6428, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.6429, allocations: 15.92 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.6431, allocations: 11.94 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.6435, allocations: 118.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.6437, allocations: 0.6768 MB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.217e-05/0.6438, allocations: 8 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.6438, allocations: 7.438 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6438, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.002859/0.6467, allocations: 0.7427 MB / 1.023 GB, free: 12.02 MB / 0.7794 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 -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/jenkins/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