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.009205/0.009206, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001912/0.001912, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.654/2.654, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 61.92 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3677, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002585/0.3703, allocations: 1.281 MB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3717, allocations: 0.5712 MB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.3718, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.3718, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.3719, allocations: 23.84 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.3724, allocations: 91.52 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.3725, allocations: 19.88 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.3726, allocations: 3.984 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.3726, allocations: 7.984 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.3727, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3727, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.3731, allocations: 139.8 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.3731, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.3732, allocations: 7.984 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3734, allocations: 95.78 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3734, allocations: 3.984 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3734, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3734, allocations: 0 / 1.09 GB, free: 15.24 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.000618/0.374, allocations: 343.5 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3741, allocations: 8.031 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.3745, allocations: 28.91 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.3748, allocations: 172.2 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.3748, allocations: 384 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3748, allocations: 4.375 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.375, allocations: 46.23 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.375, allocations: 4.172 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3751, allocations: 3.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3751, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3752, allocations: 23.97 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.3754, allocations: 157.6 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.3756, allocations: 42.52 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.3757, allocations: 24.91 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3757, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3757, allocations: 34.56 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3757, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.3761, allocations: 73.66 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3761, allocations: 59.41 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.3762, allocations: 97.8 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3763, allocations: 29.7 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.3763, allocations: 80.14 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.3764, allocations: 7.844 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.3764, allocations: 17.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3765, allocations: 314.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.3766, allocations: 11.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.3767, allocations: 15.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3768, allocations: 24.84 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3768, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001736/0.377, allocations: 65.73 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.377, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3771, allocations: 3.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3771, allocations: 7.922 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3772, allocations: 8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3772, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.3773, allocations: 3.984 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3773, allocations: 4 kB / 1.092 GB, free: 13.32 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 8.652e-05/0.3774, allocations: 109.9 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.3775, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.3775, allocations: 11.06 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3775, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3775, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3775, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3777, allocations: 157.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3777, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.3778, allocations: 8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3778, allocations: 7.922 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3778, allocations: 7.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3778, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3778, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.378, allocations: 92.95 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.3781, allocations: 85.09 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3782, allocations: 3.938 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.3782, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.3782, allocations: 3.984 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3783, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.3783, allocations: 83.22 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3783, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001994/0.3785, allocations: 8 kB / 1.092 GB, free: 12.65 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.0002786/0.3788, allocations: 119.3 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.379, allocations: 31.97 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.379, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.3791, allocations: 15.92 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3794, allocations: 13.86 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.3798, allocations: 110.6 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3801, allocations: 0.6768 MB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.3801, allocations: 8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3802, allocations: 11.44 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3802, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of Templates: time 0.003201/0.3834, allocations: 0.7438 MB / 1.094 GB, free: 10.87 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