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.0009071/0.0009073, allocations: 89.89 kB / 15.36 MB, free: 0.7344 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.008371/0.008371, allocations: 169.9 kB / 16.26 MB, free: 6.68 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.84/2.84, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 9.844 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3032, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001402/0.3046, allocations: 1.005 MB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3058, allocations: 0.6428 MB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.3058, allocations: 3.938 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.3058, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.3059, allocations: 7.984 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.3063, allocations: 87.62 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.025e-05/0.3063, allocations: 31.84 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.3064, allocations: 8 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.3064, allocations: 7.984 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.3065, allocations: 11.94 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3065, allocations: 7.938 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.3068, allocations: 143.8 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.3068, allocations: 7.984 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.3068, allocations: 37.64 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.307, allocations: 100 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.307, allocations: 0 / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.307, allocations: 0 / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.3071, allocations: 4 kB / 1.061 GB, free: 2.867 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.0004784/0.3075, allocations: 355.4 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3076, allocations: 11.97 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.308, allocations: 32.89 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3082, allocations: 164.4 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3082, allocations: 384 / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3082, allocations: 8.375 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3084, allocations: 50.22 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3084, allocations: 8.062 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3084, allocations: 7.938 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3084, allocations: 0 / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3086, allocations: 27.97 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.3088, allocations: 173.5 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.3091, allocations: 62.53 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.3092, allocations: 32.94 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3092, allocations: 0 / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.3093, allocations: 38.5 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3093, allocations: 0 / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003445/0.3127, allocations: 0.5681 MB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3128, allocations: 55.41 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.3129, allocations: 97.84 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3129, allocations: 25.7 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.3129, allocations: 84.14 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.313, allocations: 15.8 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.313, allocations: 17.7 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.3131, allocations: 319 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3133, allocations: 35.97 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3134, allocations: 31.97 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.3137, allocations: 88.75 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3137, allocations: 0 / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003484/0.3141, allocations: 121.5 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3141, allocations: 7.938 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3141, allocations: 0 / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3141, allocations: 4 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3143, allocations: 23.97 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3144, allocations: 0 / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.3145, allocations: 15.92 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3145, allocations: 4 kB / 1.063 GB, free: 148 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.3147, allocations: 117.7 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.3147, allocations: 7.938 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.3148, allocations: 12.36 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3148, allocations: 80 / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/0.3148, allocations: 240 / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3148, allocations: 11.98 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.315, allocations: 183.7 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.315, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.3153, allocations: 27.97 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3153, allocations: 3.938 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.3153, allocations: 7.984 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3153, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3153, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.3159, allocations: 188.9 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.316, allocations: 81.05 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.316, allocations: 11.97 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3162, allocations: 7.984 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.3162, allocations: 8.047 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3163, allocations: 8 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.3163, allocations: 75.28 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3163, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002773/0.3166, allocations: 43.92 kB / 1.064 GB, free: 15.27 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.0002713/0.3169, allocations: 119.2 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.3172, allocations: 92.02 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3173, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3174, allocations: 43.91 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3177, allocations: 11.98 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.3184, allocations: 178.8 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.3187, allocations: 0.677 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002255/0.3189, allocations: 27.94 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.319, allocations: 19.42 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.319, allocations: 0 / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.004196/0.3232, allocations: 1.472 MB / 1.066 GB, free: 12.62 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