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: "" <> 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.001014/0.001014, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008013/0.008013, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.53/2.53, allocations: 443.4 MB / 0.7176 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 14.7 kB / 0.8797 GB, free: 41.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 155.2 MB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001245/0.287, allocations: 1.006 MB / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.288, allocations: 0.6558 MB / 1.033 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.288, allocations: 0 / 1.033 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.288, allocations: 0 / 1.033 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.06e-05/0.2881, allocations: 3.938 kB / 1.033 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.2885, allocations: 99.55 kB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.2885, allocations: 27.88 kB / 1.033 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.2886, allocations: 0 / 1.033 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.2886, allocations: 11.98 kB / 1.033 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.2887, allocations: 15.97 kB / 1.033 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2887, allocations: 0 / 1.033 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.289, allocations: 147.7 kB / 1.033 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.289, allocations: 11.92 kB / 1.033 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.2891, allocations: 29.7 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.2892, allocations: 96.05 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2893, allocations: 0 / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2893, allocations: 4 kB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2893, allocations: 3.938 kB / 1.033 GB, free: 2.094 MB / 0.7794 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.0004518/0.2897, allocations: 359.4 kB / 1.034 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2898, allocations: 8.031 kB / 1.034 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.2898, allocations: 30.75 kB / 1.034 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.2902, allocations: 32.89 kB / 1.034 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2904, allocations: 164.4 kB / 1.034 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2904, allocations: 4.359 kB / 1.034 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.2904, allocations: 8.312 kB / 1.034 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2906, allocations: 58.2 kB / 1.034 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2906, allocations: 3.938 kB / 1.034 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2906, allocations: 0 / 1.034 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2907, allocations: 4 kB / 1.034 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.2908, allocations: 31.91 kB / 1.034 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.291, allocations: 173.4 kB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.2913, allocations: 62.58 kB / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.2914, allocations: 32.94 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2914, allocations: 0 / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2915, allocations: 30.56 kB / 1.034 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.2915, allocations: 0 / 1.034 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003367/0.2948, allocations: 0.5836 MB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.2949, allocations: 51.41 kB / 1.035 GB, free: 244 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.728e-05/0.295, allocations: 97.86 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.295, allocations: 25.7 kB / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.295, allocations: 80.14 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.2951, allocations: 19.92 kB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.2951, allocations: 14.09 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2952, allocations: 318.8 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2954, allocations: 31.97 kB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2955, allocations: 35.97 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2958, allocations: 88.81 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2958, allocations: 0 / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003437/0.2962, allocations: 129.4 kB / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2962, allocations: 4 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2962, allocations: 7.984 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2962, allocations: 0 / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2964, allocations: 27.97 kB / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2965, allocations: 0 / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.2966, allocations: 4 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2966, allocations: 8.219 kB / 1.036 GB, free: 15.32 MB / 0.795 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.025e-05/0.2967, allocations: 115.3 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.2967, allocations: 11.94 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.2968, allocations: 11.91 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2968, allocations: 3.938 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2968, allocations: 0 / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2968, allocations: 3.938 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.297, allocations: 179.7 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.297, allocations: 4 kB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.2972, allocations: 31.91 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2972, allocations: 4 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2973, allocations: 3.984 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2973, allocations: 0 / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2973, allocations: 4 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.2978, allocations: 196.9 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.2978, allocations: 85.05 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2979, allocations: 0 / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.2981, allocations: 12.08 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.2981, allocations: 8 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2981, allocations: 3.984 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.013e-05/0.2981, allocations: 79.28 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2982, allocations: 0 / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002414/0.2984, allocations: 35.94 kB / 1.037 GB, free: 14.45 MB / 0.795 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.0008489/0.2993, allocations: 0.7491 MB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.2996, allocations: 95.92 kB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2996, allocations: 0 / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2997, allocations: 43.97 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.3, allocations: 7.984 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.3019, allocations: 1.362 MB / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.3022, allocations: 0.6848 MB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.3024, allocations: 24 kB / 1.039 GB, free: 11.35 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.3025, allocations: 19.42 kB / 1.039 GB, free: 11.33 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3025, allocations: 0 / 1.039 GB, free: 11.33 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.3139, allocations: 2.247 MB / 1.042 GB, free: 9.301 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.3142, allocations: 271.2 kB / 1.042 GB, free: 8.938 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.103, allocations: 1.891 kB / 1.042 GB, free: 8.938 MB / 0.795 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=50 --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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[1]=-1.000000 " Variables in the reference:time,y,y_comp Variables in the result:T,TMax,TMin,der(T),der(y),der(y_comp),err,time,y,y_comp