Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01142/0.01142, allocations: 97.62 kB / 15.73 MB, free: 6.035 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.0029/0.0029, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 62.75 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3641, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002407/0.3666, allocations: 1.289 MB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3678, allocations: 0.6296 MB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.3678, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.3679, allocations: 3.938 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.368, allocations: 7.875 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.3685, allocations: 111.5 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.3686, allocations: 23.88 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.33e-05/0.3686, allocations: 7.984 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.3687, allocations: 11.98 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.3688, allocations: 15.92 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3688, allocations: 4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.3691, allocations: 139.8 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.3691, allocations: 8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.3691, allocations: 7.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3693, allocations: 95.75 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3694, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3694, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3694, allocations: 0 / 1.09 GB, free: 15.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005254/0.3699, allocations: 363.2 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.37, allocations: 8.031 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.3704, allocations: 36.78 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.3705, allocations: 160.4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3706, allocations: 8.375 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.3706, allocations: 384 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.3708, allocations: 62.16 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3708, allocations: 192 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.3708, allocations: 7.922 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3708, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.371, allocations: 27.98 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.3712, allocations: 157.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.3715, allocations: 74.52 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.3716, allocations: 32.92 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3717, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3717, allocations: 34.56 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.3717, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.003331/0.375, allocations: 0.572 MB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3751, allocations: 59.34 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.3752, allocations: 97.86 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3752, allocations: 25.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.3753, allocations: 80.14 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.3753, allocations: 27.83 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.3754, allocations: 21.7 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3755, allocations: 314.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3756, allocations: 48.09 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3758, allocations: 35.97 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.3761, allocations: 76.81 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3761, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003528/0.3764, allocations: 121.6 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3765, allocations: 11.94 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3765, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3765, allocations: 4 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3767, allocations: 27.91 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3767, allocations: 4.234 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.3769, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3769, allocations: 15.91 kB / 1.093 GB, free: 12.39 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 (7): * Single equations (assignments): 7 * 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 9.307e-05/0.377, allocations: 109.8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.377, allocations: 3.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.3771, allocations: 19.91 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3771, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3771, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3771, allocations: 3.984 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.3773, allocations: 187.5 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3774, allocations: 3.984 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.3776, allocations: 23.97 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3776, allocations: 7.938 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3776, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3776, allocations: 3.938 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3776, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.3782, allocations: 197 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.3783, allocations: 81.05 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.3783, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3785, allocations: 16.02 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.3785, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3786, allocations: 7.984 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.3786, allocations: 79.34 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002474/0.3789, allocations: 27.88 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002245/0.3791, allocations: 135.1 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.3795, allocations: 87.97 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3795, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.3796, allocations: 43.95 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.3798, allocations: 14.73 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.3805, allocations: 168 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.3807, allocations: 0.6806 MB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.3809, allocations: 27.94 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.3809, allocations: 15.42 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 1.81e-07/0.381, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.004033/0.385, allocations: 1.509 MB / 1.096 GB, free: 8.836 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches