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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006099/0.006099, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001544/0.001544, allocations: 201.3 kB / 16.68 MB, free: 5.934 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.64 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 162.3 MB / 1.242 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002212/0.2941, allocations: 1.274 MB / 1.243 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2952, allocations: 0.6404 MB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.2952, allocations: 0 / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2953, allocations: 3.938 kB / 1.244 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.2953, allocations: 7.984 kB / 1.244 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.2958, allocations: 119.4 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.2958, allocations: 23.92 kB / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.105e-05/0.2959, allocations: 0 / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.2959, allocations: 11.94 kB / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.296, allocations: 15.97 kB / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.296, allocations: 0 / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.2963, allocations: 139.7 kB / 1.244 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.2963, allocations: 4 kB / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.2963, allocations: 15.92 kB / 1.244 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.2965, allocations: 99.98 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2965, allocations: 0 / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2965, allocations: 0 / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.2966, allocations: 0 / 1.244 GB, free: 6.52 MB / 0.9669 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.000483/0.2971, allocations: 359.2 kB / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2971, allocations: 12.02 kB / 1.245 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.2971, allocations: 38.75 kB / 1.245 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/0.2975, allocations: 28.91 kB / 1.245 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2977, allocations: 164.3 kB / 1.245 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2977, allocations: 384 / 1.245 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.2977, allocations: 8.359 kB / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.2979, allocations: 58.22 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2979, allocations: 3.938 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2979, allocations: 0 / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-06/0.298, allocations: 4 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.2981, allocations: 27.97 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.2983, allocations: 157.6 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.2986, allocations: 74.52 kB / 1.245 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.832e-05/0.2987, allocations: 24.94 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.2988, allocations: 4 kB / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2988, allocations: 46.48 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2988, allocations: 0 / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.003417/0.3022, allocations: 0.5798 MB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3023, allocations: 55.41 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.3024, allocations: 89.86 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.3024, allocations: 33.7 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.3024, allocations: 84.27 kB / 1.246 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.3025, allocations: 15.84 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.3025, allocations: 29.64 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3027, allocations: 322.8 kB / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3029, allocations: 35.97 kB / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.303, allocations: 31.97 kB / 1.246 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.3033, allocations: 88.81 kB / 1.246 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3033, allocations: 0 / 1.246 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003786/0.3037, allocations: 125.7 kB / 1.247 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3037, allocations: 4 kB / 1.247 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3037, allocations: 80 / 1.247 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3037, allocations: 4 kB / 1.247 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.304, allocations: 27.91 kB / 1.247 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.304, allocations: 3.984 kB / 1.247 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3041, allocations: 7.984 kB / 1.247 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3042, allocations: 4 kB / 1.247 GB, free: 3.723 MB / 0.9669 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.0001013/0.3043, allocations: 117.8 kB / 1.247 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3043, allocations: 11.88 kB / 1.247 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.3044, allocations: 7.969 kB / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3044, allocations: 4 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3044, allocations: 4 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3044, allocations: 0 / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.3046, allocations: 187.7 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3046, allocations: 0 / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.3048, allocations: 23.91 kB / 1.247 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3048, allocations: 0 / 1.247 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.3049, allocations: 15.92 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3049, allocations: 0 / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3049, allocations: 3.938 kB / 1.247 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.3054, allocations: 189 kB / 1.247 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.3055, allocations: 89.16 kB / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.3055, allocations: 4 kB / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3057, allocations: 16.05 kB / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.3058, allocations: 0 / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.3058, allocations: 7.984 kB / 1.247 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.3058, allocations: 75.28 kB / 1.247 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3058, allocations: 0 / 1.247 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002495/0.3061, allocations: 39.86 kB / 1.247 GB, free: 2.84 MB / 0.9669 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.0009683/0.3071, allocations: 0.7574 MB / 1.248 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.3074, allocations: 83.92 kB / 1.248 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.3075, allocations: 0 / 1.248 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.3076, allocations: 51.89 kB / 1.248 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3079, allocations: 8 kB / 1.248 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.31, allocations: 1.348 MB / 1.25 GB, free: 496 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3103, allocations: 0.6807 MB / 1.25 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.3105, allocations: 28.03 kB / 1.25 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.3105, allocations: 21.12 kB / 1.25 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3105, allocations: 0 / 1.25 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.3348, allocations: 2.506 MB / 1.253 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.232, allocations: 2.75 kB / 1.253 GB, free: 13.43 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > 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/jenkins1/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