Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.001465/0.001465, allocations: 108 kB / 15.61 MB, free: 152 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.001395/0.001395, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.2 MB, free: 4.402 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.818/2.818, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.06 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002527/0.3161, allocations: 1.251 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006344/0.3168, allocations: 316.9 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.3168, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.3168, allocations: 7.938 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.3169, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3172, allocations: 55.75 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.3173, allocations: 15.92 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.3173, allocations: 8 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.3174, allocations: 7.984 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.3174, allocations: 7.984 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.3174, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.3176, allocations: 67.92 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.3176, allocations: 7.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.3176, allocations: 7.984 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.3178, allocations: 43.94 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3178, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3178, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3178, allocations: 3.938 kB / 1.066 GB, free: 12.41 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.0004206/0.3182, allocations: 339.8 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3183, allocations: 12.03 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.3183, allocations: 34.75 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.3185, allocations: 4.938 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3186, allocations: 164.4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.3186, allocations: 384 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3186, allocations: 4.375 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.3188, allocations: 46.19 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3188, allocations: 7.938 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3188, allocations: 0 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3188, allocations: 0 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.3188, allocations: 15.98 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.319, allocations: 157.7 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.3192, allocations: 42.61 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.3193, allocations: 24.94 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3193, allocations: 4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3193, allocations: 34.5 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3193, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.001374/0.3207, allocations: 394.5 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3208, allocations: 55.41 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.643e-05/0.3208, allocations: 89.86 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3209, allocations: 29.7 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.3209, allocations: 80.14 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.3209, allocations: 19.66 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.321, allocations: 21.7 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3211, allocations: 318.8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.3212, allocations: 19.92 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.3212, allocations: 16 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.603e-05/0.3213, allocations: 52.83 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3213, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000128/0.3215, allocations: 77.62 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3215, allocations: 7.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3215, allocations: 3.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3215, allocations: 3.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.3216, allocations: 15.98 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.3216, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.3217, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3217, allocations: 8 kB / 1.068 GB, free: 10.06 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 8.784e-05/0.3218, allocations: 109.8 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.3218, allocations: 4 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.322, allocations: 105.5 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.322, allocations: 3.984 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.322, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3221, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3222, allocations: 165.7 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3222, allocations: 0 / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.3223, allocations: 15.98 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3223, allocations: 3.938 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3223, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3223, allocations: 4 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3223, allocations: 0 / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.3226, allocations: 125 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.3226, allocations: 85.08 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3226, allocations: 0 / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.3227, allocations: 4 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.3227, allocations: 3.984 kB / 1.068 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3228, allocations: 4 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.3228, allocations: 79.28 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3228, allocations: 4.062 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001826/0.323, allocations: 8 kB / 1.069 GB, free: 9.25 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 (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 Backend phase and start with SimCode phase: time 0.000517/0.3235, allocations: 0.6712 MB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.3237, allocations: 43.98 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3237, allocations: 4.062 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.3237, allocations: 23.92 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.324, allocations: 8 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3251, allocations: 1.189 MB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3254, allocations: 0.682 MB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.08e-05/0.3255, allocations: 12 kB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.3255, allocations: 11.44 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3255, allocations: 4 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.123/1.449, allocations: 1.642 MB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.92, allocations: 9.156 kB / 1.073 GB, free: 5 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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