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.001382/0.001382, 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.001437/0.001437, allocations: 194.1 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.826/2.826, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.69 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002446/0.322, allocations: 1.288 MB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.323, allocations: 0.6367 MB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.323, allocations: 4 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.3231, allocations: 3.938 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.3231, allocations: 11.86 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.3236, allocations: 115.5 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.3236, allocations: 23.88 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.3237, allocations: 7.969 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.3237, allocations: 8 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.3238, allocations: 15.92 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3238, allocations: 3.938 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.3241, allocations: 143.8 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.3241, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.3241, allocations: 15.94 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.3243, allocations: 96.09 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3243, allocations: 0 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3243, allocations: 4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3243, allocations: 0 / 1.066 GB, free: 11.82 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.0004985/0.3248, allocations: 355.4 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3249, allocations: 12.03 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.3249, allocations: 34.69 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.3253, allocations: 32.89 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3255, allocations: 164.3 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3255, allocations: 384 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3255, allocations: 4.375 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3257, allocations: 62.2 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3257, allocations: 3.938 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3257, allocations: 0 / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3258, allocations: 4 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3259, allocations: 27.97 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.3261, allocations: 157.7 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.3264, allocations: 74.52 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.3265, allocations: 20.94 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.3265, allocations: 8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3266, allocations: 30.56 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3266, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.003353/0.3299, allocations: 0.572 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.33, allocations: 59.34 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.3301, allocations: 89.86 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.3301, allocations: 33.7 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.3301, allocations: 84.2 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.3302, allocations: 27.69 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.3302, allocations: 25.7 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3304, allocations: 314.8 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3305, allocations: 35.97 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.3306, allocations: 39.97 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3309, allocations: 80.81 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3309, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003499/0.3313, allocations: 125.6 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3313, allocations: 9.969 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3313, allocations: 4 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3314, allocations: 3.938 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3316, allocations: 19.97 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3316, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.3317, allocations: 8 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3318, allocations: 3.984 kB / 1.069 GB, free: 9.051 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 9.202e-05/0.3318, allocations: 117.8 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3319, allocations: 4.266 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.192e-05/0.3319, allocations: 11.91 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.332, allocations: 4 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.332, allocations: 12.03 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.332, allocations: 4 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3322, allocations: 187.6 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3322, allocations: 0 / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.3324, allocations: 27.91 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3324, allocations: 4 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3324, allocations: 0 / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3324, allocations: 3.938 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3324, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.333, allocations: 189 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.333, allocations: 85.08 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3331, allocations: 0 / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3333, allocations: 16.05 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3333, allocations: 0 / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3333, allocations: 7.984 kB / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.3334, allocations: 79.28 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3334, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002336/0.3336, allocations: 31.94 kB / 1.07 GB, free: 8.18 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.0008993/0.3345, allocations: 0.7646 MB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.3349, allocations: 95.86 kB / 1.07 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3349, allocations: 0 / 1.07 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.335, allocations: 43.95 kB / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.3353, allocations: 12 kB / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3373, allocations: 1.35 MB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3376, allocations: 0.6807 MB / 1.072 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.3378, allocations: 28.03 kB / 1.072 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.3378, allocations: 15.42 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3379, allocations: 0 / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7961/1.134, allocations: 2.476 MB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.65, allocations: 12.97 kB / 1.075 GB, free: 2.758 MB / 0.8262 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) "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