Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00108/0.00108, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001498/0.001498, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.036/3.036, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 7.938 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3735, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001421/0.375, allocations: 1.002 MB / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009765/0.376, allocations: 0.6079 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.376, allocations: 4 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.376, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.3761, allocations: 3.938 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.3765, allocations: 99.61 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.3766, allocations: 19.94 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.3766, allocations: 3.984 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.3766, allocations: 8 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.3767, allocations: 15.92 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3767, allocations: 0 / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.377, allocations: 147.7 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.377, allocations: 0 / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.3771, allocations: 29.7 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3772, allocations: 68.08 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.3772, allocations: 0 / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3772, allocations: 8 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3772, allocations: 0 / 1.06 GB, free: 3.309 MB / 0.8106 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.00049/0.3777, allocations: 355.2 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3778, allocations: 8.031 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.3782, allocations: 27.95 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3783, allocations: 167 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3783, allocations: 7.984 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.3784, allocations: 7.938 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3786, allocations: 53.66 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3786, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3786, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3786, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.3787, allocations: 31.97 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.3789, allocations: 173.5 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.3792, allocations: 66.47 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.3793, allocations: 32.94 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3793, allocations: 0 / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3794, allocations: 30.56 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3794, allocations: 0 / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.002979/0.3824, allocations: 0.5797 MB / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.3824, allocations: 51.41 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.3825, allocations: 101.8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3825, allocations: 25.7 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.3825, allocations: 80.14 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.3826, allocations: 15.81 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.3826, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3827, allocations: 322.9 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3828, allocations: 39.97 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.383, allocations: 35.91 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.3831, allocations: 43.94 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3831, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003039/0.3834, allocations: 125.5 kB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3834, allocations: 4 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3834, allocations: 0 / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3835, allocations: 0 / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3837, allocations: 27.97 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3837, allocations: 3.984 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3838, allocations: 4 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.3838, allocations: 7.984 kB / 1.062 GB, free: 0.6523 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.83e-05/0.3839, allocations: 117.7 kB / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.3839, allocations: 4 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.384, allocations: 12.03 kB / 1.062 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.384, allocations: 4 kB / 1.062 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.384, allocations: 0 / 1.062 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.384, allocations: 4.328 kB / 1.062 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3842, allocations: 183.7 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3842, allocations: 0 / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3844, allocations: 27.97 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3844, allocations: 0 / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3845, allocations: 11.97 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3845, allocations: 3.938 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3845, allocations: 0 / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.385, allocations: 196.9 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.385, allocations: 81.06 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.385, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3852, allocations: 12.02 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.3852, allocations: 8 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3853, allocations: 3.984 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.3853, allocations: 83.34 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.383e-06/0.3853, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002409/0.3855, allocations: 35.88 kB / 1.063 GB, free: 15.79 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.3857, allocations: 127.2 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003096/0.3861, allocations: 88.02 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3861, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3862, allocations: 47.89 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.3865, allocations: 10.22 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.3871, allocations: 175 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3873, allocations: 0.6809 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.3875, allocations: 31.88 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.3876, allocations: 19.41 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3876, allocations: 0 / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.004275/0.3919, allocations: 1.435 MB / 1.066 GB, free: 13.17 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches