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.001611/0.001612, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002079/0.002079, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.361/2.361, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.89 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003145/1.042, allocations: 1.288 MB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001145/1.043, allocations: 0.6327 MB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/1.043, allocations: 0 / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/1.043, allocations: 3.938 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/1.044, allocations: 10.22 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/1.044, allocations: 112.2 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/1.044, allocations: 23.09 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/1.044, allocations: 7.156 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/1.044, allocations: 11.14 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/1.044, allocations: 10.81 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/1.044, allocations: 1.125 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/1.045, allocations: 143.2 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/1.045, allocations: 6.203 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/1.045, allocations: 10.22 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/1.045, allocations: 103.1 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.045, allocations: 5.062 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/1.045, allocations: 3.938 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.045, allocations: 0 / 1.091 GB, free: 4.004 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.0004956/1.046, allocations: 347.5 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.046, allocations: 8.969 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004553/1.046, allocations: 31.94 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.037e-05/1.046, allocations: 170.8 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.046, allocations: 0.9375 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/1.046, allocations: 10.78 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/1.046, allocations: 54.05 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/1.046, allocations: 192 / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.047, allocations: 5.922 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.047, allocations: 0 / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/1.047, allocations: 30.86 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/1.047, allocations: 164.8 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/1.047, allocations: 67.78 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/1.047, allocations: 32.98 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/1.047, allocations: 0.7812 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/1.047, allocations: 32.39 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.047, allocations: 0 / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.003394/1.051, allocations: 0.5683 MB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/1.051, allocations: 52.77 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/1.051, allocations: 97.84 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/1.051, allocations: 31.25 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/1.051, allocations: 84.08 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/1.051, allocations: 29.27 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/1.051, allocations: 30.08 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/1.051, allocations: 312.4 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/1.051, allocations: 38.53 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/1.051, allocations: 35.72 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/1.052, allocations: 82.19 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/1.052, allocations: 4.812 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003511/1.052, allocations: 117.1 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.052, allocations: 13.41 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.052, allocations: 0 / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.052, allocations: 1.828 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/1.052, allocations: 26.48 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.052, allocations: 0.7031 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/1.053, allocations: 6.203 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/1.053, allocations: 4.672 kB / 1.093 GB, free: 1.984 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 8.276e-05/1.053, allocations: 116.6 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/1.053, allocations: 6.188 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/1.053, allocations: 9.906 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.053, allocations: 1.672 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.053, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/1.053, allocations: 91.27 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/1.053, allocations: 5.094 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/1.053, allocations: 9.906 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/1.053, allocations: 8.141 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005765/1.054, allocations: 209.3 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005913/1.054, allocations: 342.4 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001574/1.054, allocations: 41.94 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.951e-05/1.054, allocations: 77.7 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of Backend: time 4.61e-07/1.054, allocations: 0 / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008013/1.055, allocations: 183.2 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005953/1.056, allocations: 0.5769 MB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of Templates: time 0.007403/1.063, allocations: 2.452 MB / 1.097 GB, free: 408 kB / 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/jenkins1/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