Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005249/0.005249, allocations: 97.06 kB / 15.73 MB, free: 6.484 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.001025/0.001025, allocations: 192 kB / 16.67 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.06 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3572, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002309/0.3595, allocations: 1.291 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3607, allocations: 0.6348 MB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.3607, allocations: 0 / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.3607, allocations: 0 / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.3608, allocations: 11.92 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.3612, allocations: 107.5 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.3613, allocations: 31.84 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.3614, allocations: 4 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.3614, allocations: 8 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.3615, allocations: 11.92 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3615, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.3618, allocations: 151.7 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.3618, allocations: 4 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.3618, allocations: 11.92 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.362, allocations: 95.75 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.362, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.033e-06/0.362, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.362, allocations: 4 kB / 1.223 GB, free: 11.41 MB / 0.9825 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.0005439/0.3626, allocations: 355.2 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3626, allocations: 8.031 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.3631, allocations: 24.91 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3632, allocations: 176.3 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3632, allocations: 8.375 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3632, allocations: 384 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.3634, allocations: 58.16 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3634, allocations: 4.125 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3634, allocations: 7.938 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3634, allocations: 0 / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3636, allocations: 23.97 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.3638, allocations: 165.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.3641, allocations: 62.58 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.3642, allocations: 32.92 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3642, allocations: 4 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.3642, allocations: 34.5 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3642, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003646/0.3679, allocations: 0.5799 MB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3679, allocations: 51.41 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.368, allocations: 101.8 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.368, allocations: 25.7 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.368, allocations: 80.14 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.3681, allocations: 23.8 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.3681, allocations: 25.69 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3682, allocations: 319 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.3684, allocations: 35.97 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3685, allocations: 35.97 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3688, allocations: 88.89 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3688, allocations: 0 / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005149/0.3693, allocations: 121.6 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3694, allocations: 11.94 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3694, allocations: 0 / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3694, allocations: 4 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.3696, allocations: 23.97 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3696, allocations: 0 / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3698, allocations: 11.92 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3698, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 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/0.3699, allocations: 126.2 kB / 1.225 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3699, allocations: 3.938 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.37, allocations: 15.97 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.37, allocations: 0 / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.37, allocations: 0 / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.37, allocations: 0 / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3702, allocations: 195.7 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3702, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.3704, allocations: 27.97 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3704, allocations: 3.938 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3705, allocations: 3.984 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3705, allocations: 0 / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3705, allocations: 0 / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.371, allocations: 193 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.371, allocations: 85 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.3711, allocations: 4.109 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3713, allocations: 12.03 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.3713, allocations: 12.05 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3713, allocations: 4 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.3714, allocations: 83.27 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3714, allocations: 0 / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000256/0.3716, allocations: 27.88 kB / 1.226 GB, free: 7.797 MB / 0.9825 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.0002537/0.3719, allocations: 127.2 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.3722, allocations: 84.02 kB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3722, allocations: 4 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3724, allocations: 47.89 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.3726, allocations: 7.312 kB / 1.226 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.3733, allocations: 177.8 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3736, allocations: 0.6729 MB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.3737, allocations: 31.92 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.3738, allocations: 19.36 kB / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.3738, allocations: 0 / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of Templates: time 0.004271/0.3781, allocations: 1.521 MB / 1.229 GB, free: 5.117 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches