Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_9_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.007985/0.007985, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001954/0.001954, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 62.12 kB / 0.9504 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2965, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002565/0.2991, allocations: 1.246 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007484/0.2999, allocations: 315.3 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.2999, allocations: 0 / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.3, allocations: 3.938 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.3001, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.3005, allocations: 59.75 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.3006, allocations: 15.91 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/0.3006, allocations: 4 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.3007, allocations: 12 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.3008, allocations: 7.984 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3008, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.301, allocations: 67.92 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.301, allocations: 11.92 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.301, allocations: 4 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3012, allocations: 39.94 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3012, allocations: 4 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of FrontEnd: time 4.528e-06/0.3012, allocations: 0 / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.3012, allocations: 3.938 kB / 1.089 GB, free: 228 kB / 0.8419 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.0004702/0.3017, allocations: 338.4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3018, allocations: 8.031 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.3018, allocations: 34.75 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.302, allocations: 8.922 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3021, allocations: 164.3 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3021, allocations: 4.375 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3022, allocations: 4.359 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3023, allocations: 46.25 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3023, allocations: 7.938 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3023, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3024, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.203e-05/0.3024, allocations: 11.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.3026, allocations: 157.7 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3028, allocations: 50.55 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.3029, allocations: 20.94 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3029, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3029, allocations: 30.56 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3029, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.001393/0.3043, allocations: 395 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.3044, allocations: 55.41 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.236e-05/0.3044, allocations: 89.86 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3045, allocations: 33.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.3045, allocations: 80.14 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.3045, allocations: 23.62 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.3046, allocations: 21.72 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3047, allocations: 318.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.3048, allocations: 15.98 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.3048, allocations: 19.98 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.3049, allocations: 48.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3049, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001261/0.305, allocations: 73.69 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3051, allocations: 7.938 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3051, allocations: 7.938 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3051, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.3052, allocations: 11.98 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3052, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.3053, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.3053, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 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 7.726e-05/0.3054, allocations: 117.8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.3054, allocations: 11.92 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.3056, allocations: 93.52 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3056, allocations: 8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3056, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3056, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3057, allocations: 166 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3058, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.706e-05/0.3059, allocations: 15.92 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3059, allocations: 7.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3059, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3059, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3059, allocations: 4.062 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3061, allocations: 129.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.3062, allocations: 81.05 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3062, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.3063, allocations: 4.031 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.3063, allocations: 11.97 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3063, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.3063, allocations: 76.7 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3063, allocations: 4.062 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001902/0.3065, allocations: 8 kB / 1.092 GB, free: 13.05 MB / 0.8575 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.0004741/0.307, allocations: 0.6631 MB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.3072, allocations: 47.92 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3072, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.3072, allocations: 28.05 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.3075, allocations: 13.3 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3086, allocations: 1.189 MB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3088, allocations: 0.6768 MB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.3089, allocations: 8 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.309, allocations: 21.45 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.309, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.3278, allocations: 1.68 MB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.591, allocations: 11.44 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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