Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001424/0.001424, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001477/0.001477, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.592/1.592, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.177, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002778/1.18, allocations: 1.284 MB / 1.169 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001229/1.181, allocations: 0.6497 MB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/1.181, allocations: 0 / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/1.181, allocations: 4 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/1.181, allocations: 11.92 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/1.182, allocations: 103.5 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.751e-05/1.182, allocations: 27.86 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/1.182, allocations: 0 / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/1.182, allocations: 11.94 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/1.182, allocations: 15.97 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/1.182, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/1.182, allocations: 143.8 kB / 1.17 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/1.182, allocations: 3.938 kB / 1.17 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/1.182, allocations: 19.97 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/1.183, allocations: 97.09 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.183, allocations: 0 / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/1.183, allocations: 4 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.183, allocations: 0 / 1.17 GB, free: 1.512 MB / 0.8887 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.0005263/1.183, allocations: 351.3 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.183, allocations: 8.625 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/1.184, allocations: 28.91 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.184, allocations: 168.3 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.184, allocations: 384 / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/1.184, allocations: 4.328 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/1.184, allocations: 62.2 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/1.184, allocations: 192 / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/1.184, allocations: 7.938 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.184, allocations: 4 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/1.184, allocations: 31.84 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/1.185, allocations: 161.7 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/1.185, allocations: 66.58 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/1.185, allocations: 24.94 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/1.185, allocations: 0 / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/1.185, allocations: 34.56 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/1.185, allocations: 4 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.003528/1.189, allocations: 0.5837 MB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/1.189, allocations: 51.41 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/1.189, allocations: 93.86 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/1.189, allocations: 29.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/1.189, allocations: 84.27 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/1.189, allocations: 23.78 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/1.189, allocations: 25.7 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.189, allocations: 318.8 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/1.189, allocations: 31.97 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/1.189, allocations: 43.97 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/1.19, allocations: 80.81 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/1.19, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003459/1.19, allocations: 125.5 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.19, allocations: 7.938 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.19, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.19, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/1.19, allocations: 27.97 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.19, allocations: 64 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/1.191, allocations: 11.98 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/1.191, allocations: 4 kB / 1.172 GB, free: 14.78 MB / 0.9044 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.0001064/1.191, allocations: 113.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/1.191, allocations: 11.89 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/1.191, allocations: 11.95 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.191, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.191, allocations: 4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/1.191, allocations: 81.11 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/1.191, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/1.191, allocations: 11.98 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/1.191, allocations: 7.875 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005589/1.192, allocations: 208.9 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005946/1.192, allocations: 342.6 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001426/1.192, allocations: 43.94 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.397e-05/1.193, allocations: 75.28 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of Backend: time 8.02e-07/1.193, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006874/1.193, allocations: 186.2 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006819/1.194, allocations: 0.5732 MB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.005575/1.2, allocations: 2.458 MB / 1.176 GB, free: 10.61 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches