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.01013/0.01013, allocations: 101.6 kB / 15.73 MB, free: 6.445 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.001512/0.001512, allocations: 196.4 kB / 16.68 MB, free: 6.355 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.536/2.536, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.64 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4483, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.004795/0.4531, allocations: 1.274 MB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.4553, allocations: 0.6412 MB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.4554, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.4554, allocations: 7.922 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.4556, allocations: 15.92 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.4565, allocations: 103.6 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.4566, allocations: 27.84 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.008e-05/0.4567, allocations: 4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.4567, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.856e-05/0.4569, allocations: 15.92 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4569, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005287/0.4574, allocations: 143.8 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.4575, allocations: 4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.4575, allocations: 15.92 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.4579, allocations: 103.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4579, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.458, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.458, allocations: 0 / 1.09 GB, free: 15.12 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.000682/0.4587, allocations: 355.4 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4587, allocations: 8.031 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006356/0.4594, allocations: 32.91 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.4596, allocations: 168.4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.4596, allocations: 4.375 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.4597, allocations: 4.281 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.46, allocations: 58.2 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.46, allocations: 192 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.46, allocations: 3.938 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.4601, allocations: 8 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.4603, allocations: 27.91 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.4606, allocations: 161.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.4612, allocations: 66.58 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.4614, allocations: 28.94 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.4614, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.4615, allocations: 34.55 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.043e-06/0.4615, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.005227/0.4667, allocations: 0.5836 MB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.4668, allocations: 51.41 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4669, allocations: 97.86 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.467, allocations: 25.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.4671, allocations: 88.25 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.4671, allocations: 19.72 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4672, allocations: 29.69 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4674, allocations: 310.8 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.4677, allocations: 39.97 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4679, allocations: 35.97 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.4684, allocations: 84.81 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4685, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006424/0.4691, allocations: 129.7 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.4692, allocations: 7.938 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4692, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4692, allocations: 3.938 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.4696, allocations: 23.97 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4696, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.4698, allocations: 7.984 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.4699, allocations: 4 kB / 1.093 GB, free: 12.38 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 0.0001442/0.47, allocations: 117.8 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.4701, allocations: 7.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.4702, allocations: 7.969 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4702, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4703, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.4703, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.4706, allocations: 191.5 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4706, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.471, allocations: 27.91 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.471, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.471, allocations: 7.984 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4711, allocations: 7.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4711, allocations: 336 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/0.472, allocations: 188.9 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.4721, allocations: 81.05 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.4722, allocations: 8.016 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.4725, allocations: 12.05 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.4725, allocations: 11.98 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4726, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.4726, allocations: 79.28 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4727, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004467/0.4731, allocations: 35.92 kB / 1.093 GB, free: 11.5 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.0003402/0.4735, allocations: 131.3 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005754/0.4741, allocations: 87.92 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.4741, allocations: 0 / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.4744, allocations: 51.89 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.4747, allocations: 11.94 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.4759, allocations: 158 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.4764, allocations: 0.6807 MB / 1.094 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000265/0.4767, allocations: 31.92 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.4768, allocations: 15.42 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.4768, allocations: 4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.006341/0.4831, allocations: 1.522 MB / 1.096 GB, free: 8.793 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