Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_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.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001206/0.001206, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 64.73 kB / 0.8985 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2954, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002767/0.2982, allocations: 1.309 MB / 1.053 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2994, allocations: 0.6191 MB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.2994, allocations: 0 / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.2995, allocations: 4 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.633e-05/0.2995, allocations: 7.984 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.3, allocations: 111.6 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.3, allocations: 19.92 kB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.3001, allocations: 0 / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.3001, allocations: 4 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.3002, allocations: 19.91 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.3002, allocations: 0 / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.3006, allocations: 207.7 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.3006, allocations: 11.98 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.3006, allocations: 7.984 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.3009, allocations: 132 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3009, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3009, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3009, allocations: 3.938 kB / 1.055 GB, free: 5.73 MB / 0.8106 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.000392/0.3013, allocations: 343.5 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3013, allocations: 11.97 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.3014, allocations: 34.75 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.3015, allocations: 16.92 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.832e-05/0.3016, allocations: 164.4 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3017, allocations: 384 / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3017, allocations: 384 / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3018, allocations: 42.25 kB / 1.055 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3018, allocations: 3.938 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3018, allocations: 0 / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3019, allocations: 0 / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.3019, allocations: 19.92 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.3021, allocations: 165.5 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3023, allocations: 38.61 kB / 1.055 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.3023, allocations: 16.86 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3023, allocations: 0 / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3023, allocations: 38.64 kB / 1.055 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.334e-06/0.3024, allocations: 4 kB / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006904/0.303, allocations: 310.1 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.3031, allocations: 51.41 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.299e-05/0.3031, allocations: 89.86 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3031, allocations: 29.7 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.3032, allocations: 80.14 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3032, allocations: 19.66 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3033, allocations: 25.7 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.3034, allocations: 314.8 kB / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.3034, allocations: 12 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.3034, allocations: 7.984 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/0.3035, allocations: 32.86 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3035, allocations: 0 / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.302e-05/0.3036, allocations: 65.62 kB / 1.056 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3036, allocations: 7.938 kB / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3036, allocations: 0 / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3036, allocations: 4 kB / 1.056 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.3037, allocations: 11.98 kB / 1.056 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3037, allocations: 4 kB / 1.056 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.3038, allocations: 0 / 1.056 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.3038, allocations: 4 kB / 1.056 GB, free: 3.52 MB / 0.8106 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.832e-05/0.3038, allocations: 109.8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.3039, allocations: 3.938 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.304, allocations: 81.56 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.304, allocations: 8.266 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.304, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.304, allocations: 64 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.3041, allocations: 165.7 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3041, allocations: 0 / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.3042, allocations: 12 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3042, allocations: 3.938 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3042, allocations: 7.922 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3043, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3043, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.3044, allocations: 117.3 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.3045, allocations: 85.08 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3045, allocations: 3.984 kB / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.3045, allocations: 0 / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.3046, allocations: 4 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3046, allocations: 0 / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.3046, allocations: 75.28 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3046, allocations: 0 / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000184/0.3048, allocations: 16.06 kB / 1.057 GB, free: 2.738 MB / 0.8106 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.0004096/0.3052, allocations: 0.6493 MB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.3053, allocations: 31.98 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3053, allocations: 0 / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.3054, allocations: 27.91 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.3055, allocations: 12.06 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009659/0.3065, allocations: 1.156 MB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.3067, allocations: 0.677 MB / 1.06 GB, free: 52 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.3068, allocations: 7.938 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.3068, allocations: 19.42 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3068, allocations: 0 / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.3183, allocations: 1.215 MB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.3185, allocations: 290.8 kB / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.924, allocations: 0 / 1.061 GB, free: 14.63 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_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:der(p_w),der(y),der(y_comp),err,p_w,time,y,y_comp