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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001734/0.001734, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 195.5 kB / 16.53 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.31 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00244/0.3421, allocations: 1.281 MB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3432, allocations: 0.637 MB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.3432, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.3433, allocations: 3.938 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.3433, allocations: 15.86 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.3437, allocations: 111.5 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.3438, allocations: 23.88 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.3438, allocations: 7.984 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.3439, allocations: 4 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.3439, allocations: 19.91 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.344, allocations: 4 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.3442, allocations: 135.8 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.3442, allocations: 8 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.3443, allocations: 15.92 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.3445, allocations: 92.11 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3445, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3445, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.3445, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8262 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.0004663/0.345, allocations: 359.4 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.345, allocations: 8.031 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.3455, allocations: 40.8 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3456, allocations: 164.3 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3456, allocations: 4.375 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3456, allocations: 384 / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3458, allocations: 54.22 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3459, allocations: 192 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3459, allocations: 3.938 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3459, allocations: 4 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.346, allocations: 35.95 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.3462, allocations: 161.7 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.3466, allocations: 78.47 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.3467, allocations: 24.94 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3467, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3467, allocations: 30.56 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3467, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.003441/0.3502, allocations: 0.5875 MB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3502, allocations: 51.41 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.3503, allocations: 93.86 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3503, allocations: 29.64 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.3503, allocations: 84.27 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.3504, allocations: 23.7 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.3505, allocations: 21.7 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3506, allocations: 314.8 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3507, allocations: 39.95 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3509, allocations: 39.97 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.3512, allocations: 76.81 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3512, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003601/0.3515, allocations: 125.6 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3516, allocations: 11.94 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3516, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3516, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.3518, allocations: 23.91 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3518, allocations: 7.938 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.352, allocations: 8 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.352, allocations: 3.984 kB / 1.073 GB, free: 5.258 MB / 0.8262 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.275e-05/0.3521, allocations: 113.8 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3521, allocations: 7.844 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.3522, allocations: 11.97 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3522, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3522, allocations: 4 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3522, allocations: 3.984 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.3524, allocations: 183.5 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3524, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3526, allocations: 19.97 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3527, allocations: 11.92 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3527, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3527, allocations: 240 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3527, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.3533, allocations: 205 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.3533, allocations: 81.05 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3534, allocations: 0 / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3536, allocations: 20.05 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.3536, allocations: 3.938 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3536, allocations: 7.984 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.3536, allocations: 75.28 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3536, allocations: 0 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002459/0.3539, allocations: 35.94 kB / 1.074 GB, free: 4.387 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 (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.0002254/0.3541, allocations: 131.8 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.3545, allocations: 87.86 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3545, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3547, allocations: 51.95 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.3549, allocations: 7.266 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.3556, allocations: 169.8 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3559, allocations: 0.6846 MB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.3561, allocations: 27.92 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.3562, allocations: 27.36 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3562, allocations: 0 / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of Templates: time 0.004014/0.3602, allocations: 1.494 MB / 1.076 GB, free: 1.707 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