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.009232/0.009232, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001592/0.001592, allocations: 193.6 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.447/2.447, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.75 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3956, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002391/0.398, allocations: 1.297 MB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3991, allocations: 0.5595 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.3991, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.3992, allocations: 3.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.3992, allocations: 7.922 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3997, allocations: 95.56 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.3998, allocations: 27.8 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.3998, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.3999, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.3999, allocations: 8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.4003, allocations: 143.8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.4003, allocations: 7.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.4003, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.4005, allocations: 99.7 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.669e-06/0.4006, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4006, allocations: 3.938 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4006, allocations: 0 / 1.09 GB, free: 15.26 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.0005173/0.4011, allocations: 335.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4012, allocations: 12.03 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004662/0.4016, allocations: 28.91 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.4018, allocations: 168.3 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.4018, allocations: 4.375 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.4018, allocations: 384 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.402, allocations: 46.22 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.402, allocations: 192 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.4021, allocations: 7.938 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4021, allocations: 4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.4022, allocations: 23.97 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.4024, allocations: 157.7 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.4026, allocations: 50.48 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.4027, allocations: 20.84 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4027, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.4027, allocations: 34.56 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4027, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003158/0.403, allocations: 81.53 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4031, allocations: 51.41 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.4032, allocations: 93.86 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.4032, allocations: 25.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.4032, allocations: 80.14 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.4033, allocations: 19.83 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.4033, allocations: 9.719 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4034, allocations: 319 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.4035, allocations: 11.98 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.4036, allocations: 11.98 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.4037, allocations: 28.84 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4037, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001668/0.4039, allocations: 69.66 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4039, allocations: 5.719 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4039, allocations: 3.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4039, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.404, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.404, allocations: 7.984 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.4041, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.4041, allocations: 4.031 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 7.816e-05/0.4042, allocations: 117.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.4042, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.4043, allocations: 7.062 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4043, allocations: 3.984 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4043, allocations: 8 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4043, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.4044, allocations: 153.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4044, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.4045, allocations: 7.984 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4045, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4045, allocations: 3.938 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4045, allocations: 3.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4045, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.4047, allocations: 88.95 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.4048, allocations: 85.09 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.4048, allocations: 3.938 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.4049, allocations: 3.984 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.4049, allocations: 8 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4049, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.405, allocations: 75.47 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.405, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002011/0.4052, allocations: 16.03 kB / 1.092 GB, free: 12.67 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.0001615/0.4053, allocations: 111.4 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.4055, allocations: 27.97 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.4056, allocations: 3.938 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.4056, allocations: 24.05 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.4058, allocations: 3.984 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.4062, allocations: 110.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4065, allocations: 0.6768 MB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.47e-05/0.4066, allocations: 19.98 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.4066, allocations: 11.42 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.4066, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of Templates: time 0.003421/0.4101, allocations: 0.7364 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