Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",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.001243/0.001243, 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.001145/0.001145, allocations: 192.9 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.904/2.904, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.78 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3125, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002283/0.3148, allocations: 1.262 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009275/0.3157, allocations: 0.6208 MB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.3158, allocations: 4 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.3158, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.68e-05/0.3158, allocations: 3.938 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.3162, allocations: 127.4 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.3163, allocations: 11.98 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.3164, allocations: 7.984 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.3164, allocations: 4 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.3164, allocations: 15.92 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.086e-06/0.3165, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.3168, allocations: 219.6 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.3168, allocations: 4 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.3168, allocations: 11.92 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.3171, allocations: 132 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3171, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3171, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.3171, allocations: 0 / 1.066 GB, free: 11.8 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.0003919/0.3175, allocations: 347.5 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3175, allocations: 8.031 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.3176, allocations: 46.69 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.3177, allocations: 8.922 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.713e-05/0.3178, allocations: 160.4 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3178, allocations: 384 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3178, allocations: 4.375 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.318, allocations: 38.25 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.318, allocations: 3.938 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.318, allocations: 4 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.318, allocations: 4 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.318, allocations: 15.98 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.3182, allocations: 157.6 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3184, allocations: 38.61 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.3184, allocations: 16.86 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3184, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3185, allocations: 38.66 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3185, allocations: 4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0006458/0.3191, allocations: 306.5 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3192, allocations: 51.41 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.349e-05/0.3192, allocations: 93.84 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3193, allocations: 37.58 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.3193, allocations: 80.14 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.3193, allocations: 23.66 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.3194, allocations: 17.72 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3195, allocations: 318.8 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.3195, allocations: 12 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.3196, allocations: 15.97 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.3196, allocations: 28.86 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3196, allocations: 0 / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.973e-05/0.3197, allocations: 61.69 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3197, allocations: 7.938 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3198, allocations: 4 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3198, allocations: 3.984 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.3198, allocations: 15.94 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.3199, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.3199, allocations: 7.984 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3199, allocations: 7.938 kB / 1.068 GB, free: 9.566 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 6.915e-05/0.32, allocations: 105.8 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.32, allocations: 7.938 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.3201, allocations: 77.55 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3201, allocations: 3.938 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3202, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3202, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3203, allocations: 157.7 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3203, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.3204, allocations: 8 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3204, allocations: 3.938 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3204, allocations: 8 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3204, allocations: 4.125 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3204, allocations: 240 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3206, allocations: 109.1 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3206, allocations: 81.05 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3206, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.3207, allocations: 4.031 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.3207, allocations: 11.92 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3207, allocations: 4 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.133e-05/0.3208, allocations: 79.22 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3208, allocations: 4.062 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001755/0.3209, allocations: 8 kB / 1.069 GB, free: 8.801 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.0004355/0.3214, allocations: 0.6398 MB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3215, allocations: 35.92 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3215, allocations: 4.062 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.3215, allocations: 16 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.3217, allocations: 4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.3227, allocations: 1.146 MB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.323, allocations: 0.6768 MB / 1.071 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.323, allocations: 7.969 kB / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.3231, allocations: 13 kB / 1.071 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3231, allocations: 4 kB / 1.071 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7355/1.059, allocations: 1.367 MB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.54, allocations: 10.38 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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,der(T),der(y),der(y_comp),err,time,y,y_comp