Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_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.005149/0.005149, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001394/0.001394, allocations: 194.7 kB / 16.67 MB, free: 6.348 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.612/2.612, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.84 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2812, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002176/0.2834, allocations: 1.299 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2844, allocations: 0.6348 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.2844, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.2845, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.524e-05/0.2845, allocations: 7.875 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.2849, allocations: 111.5 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.285, allocations: 23.92 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.285, allocations: 4 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.2851, allocations: 11.98 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.2851, allocations: 19.91 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.2852, allocations: 4 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.2854, allocations: 135.8 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.2855, allocations: 7.984 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.2855, allocations: 15.92 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.2857, allocations: 98.95 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2857, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2857, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2857, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 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.0004703/0.2862, allocations: 359.2 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2862, allocations: 8.031 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.2863, allocations: 30.75 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.2867, allocations: 28.89 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2868, allocations: 176.2 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.2868, allocations: 384 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.2869, allocations: 8.375 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.287, allocations: 54.22 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2871, allocations: 7.875 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2871, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2871, allocations: 7.984 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.2872, allocations: 19.98 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.2874, allocations: 169.7 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.2878, allocations: 62.58 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.2879, allocations: 28.94 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.2879, allocations: 0 / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2879, allocations: 38.5 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2879, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003349/0.2913, allocations: 0.5763 MB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.2913, allocations: 55.41 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.2914, allocations: 97.86 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.2914, allocations: 25.7 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.2915, allocations: 80.14 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.2915, allocations: 27.78 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.2916, allocations: 21.7 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2917, allocations: 314.8 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.2919, allocations: 40.08 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.292, allocations: 39.97 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2924, allocations: 88.75 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2924, allocations: 0 / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003763/0.2927, allocations: 129.5 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2928, allocations: 4 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2928, allocations: 0 / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2928, allocations: 3.938 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.293, allocations: 31.91 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.293, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2932, allocations: 4 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2932, allocations: 7.984 kB / 1.225 GB, free: 9.094 MB / 0.9825 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.833e-05/0.2933, allocations: 109.8 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.2933, allocations: 11.88 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.2934, allocations: 12.03 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2934, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2934, allocations: 0 / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2934, allocations: 3.984 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.2936, allocations: 187.7 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2936, allocations: 3.984 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.2938, allocations: 31.91 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2939, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2939, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2939, allocations: 4 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2939, allocations: 0 / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.2945, allocations: 189 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.2945, allocations: 85 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.2945, allocations: 0 / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.2947, allocations: 15.95 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.2948, allocations: 4 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2948, allocations: 7.984 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.2948, allocations: 83.34 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2948, allocations: 0 / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002346/0.2951, allocations: 31.88 kB / 1.226 GB, free: 8.227 MB / 0.9825 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.0009445/0.296, allocations: 0.7535 MB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.2964, allocations: 91.92 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2964, allocations: 0 / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2966, allocations: 43.95 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.2968, allocations: 8.25 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.2988, allocations: 1.368 MB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2991, allocations: 0.6807 MB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.2993, allocations: 27.94 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.2994, allocations: 23.41 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.2994, allocations: 0 / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.097/1.396, allocations: 2.501 MB / 1.231 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.79, allocations: 14.86 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches