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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001655/0.001655, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 196.5 kB / 16.63 MB, free: 6.609 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.404/1.404, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.3 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 71.86 kB / 0.9509 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3162, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002325/0.3186, allocations: 1.278 MB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.3195, allocations: 0.5751 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.3195, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.3196, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.3196, allocations: 7.922 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.32, allocations: 95.56 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.3201, allocations: 19.81 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.3201, allocations: 11.94 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.3202, allocations: 11.97 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.3202, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3202, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.3205, allocations: 143.7 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.3205, allocations: 3.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.3205, allocations: 7.984 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3207, allocations: 91.78 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3207, allocations: 8 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3208, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3208, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 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.000369/0.3211, allocations: 339.5 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3212, allocations: 8.031 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.3216, allocations: 28.89 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3217, allocations: 168.3 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3218, allocations: 4.375 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3218, allocations: 384 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.322, allocations: 54.16 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.322, allocations: 192 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.322, allocations: 3.938 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.322, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.3221, allocations: 27.97 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.3223, allocations: 153.7 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.3225, allocations: 38.59 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.3226, allocations: 20.91 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3226, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3227, allocations: 42.44 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3227, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003452/0.323, allocations: 73.59 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3231, allocations: 51.41 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.3231, allocations: 97.97 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3232, allocations: 33.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.3232, allocations: 80.14 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.3233, allocations: 7.844 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.3233, allocations: 17.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.3234, allocations: 314.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.3235, allocations: 15.98 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.3235, allocations: 19.98 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3237, allocations: 28.78 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3237, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001659/0.3238, allocations: 57.67 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3239, allocations: 12.88 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3239, allocations: 8.031 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3239, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.324, allocations: 7.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.324, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.3241, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3241, allocations: 3.984 kB / 1.092 GB, free: 13.35 MB / 0.8575 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.923e-05/0.3242, allocations: 109.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.3242, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.3242, allocations: 11.25 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3242, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3242, allocations: 7.922 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3242, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.3244, allocations: 153.7 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3244, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.3244, allocations: 7.984 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3244, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3245, allocations: 11.92 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3245, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3245, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.3247, allocations: 88.95 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.3247, allocations: 85.09 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3248, allocations: 7.938 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.3248, allocations: 4.031 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.3248, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3249, allocations: 7.984 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.3249, allocations: 75.28 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.573e-06/0.3249, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001964/0.3251, allocations: 15.94 kB / 1.092 GB, free: 12.68 MB / 0.8575 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.0001802/0.3253, allocations: 111.2 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.3255, allocations: 35.97 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3255, allocations: 0 / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.3256, allocations: 11.98 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.3258, allocations: 13.89 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.3262, allocations: 122.7 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.3264, allocations: 0.6729 MB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.14e-05/0.3265, allocations: 11.92 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.3265, allocations: 11.44 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of SimCode: time 1.91e-07/0.3265, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.002811/0.3293, allocations: 0.739 MB / 1.094 GB, free: 10.89 MB / 0.8575 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/jenkins/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