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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00528/0.00528, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001195/0.001195, allocations: 197 kB / 16.68 MB, free: 5.926 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.91 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8967, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002948/0.8997, allocations: 1.252 MB / 1.209 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.9011, allocations: 0.6151 MB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.9012, allocations: 0 / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.9012, allocations: 4 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.9013, allocations: 0 / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000685/0.902, allocations: 123.4 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.9021, allocations: 19.88 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.9021, allocations: 4 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.9022, allocations: 7.984 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.9023, allocations: 7.984 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.9023, allocations: 4 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.9029, allocations: 215.6 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.9029, allocations: 7.922 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.9029, allocations: 11.94 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.9033, allocations: 130 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9033, allocations: 0 / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.053e-06/0.9033, allocations: 0 / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.9034, allocations: 0 / 1.21 GB, free: 11.19 MB / 0.9356 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.0006672/0.904, allocations: 355.4 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.9041, allocations: 8.031 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/0.9042, allocations: 38.75 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.9044, allocations: 16.92 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.9045, allocations: 160.4 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.9046, allocations: 384 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.9046, allocations: 384 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.9048, allocations: 46.19 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.9048, allocations: 3.938 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.9048, allocations: 0 / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.9048, allocations: 3.938 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.9049, allocations: 19.98 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.9052, allocations: 149.7 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.9054, allocations: 42.64 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.9055, allocations: 20.84 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.9055, allocations: 0 / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.9056, allocations: 30.56 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9056, allocations: 4 kB / 1.21 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0009918/0.9066, allocations: 314.5 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.9066, allocations: 51.41 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.212e-05/0.9067, allocations: 89.86 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.9068, allocations: 25.7 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.9068, allocations: 84.14 kB / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.9069, allocations: 19.7 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.907, allocations: 21.72 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002443/0.9072, allocations: 318.8 kB / 1.211 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.9073, allocations: 8 kB / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.9073, allocations: 12 kB / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.255e-05/0.9074, allocations: 36.94 kB / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.9074, allocations: 0 / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001371/0.9076, allocations: 69.66 kB / 1.211 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.9076, allocations: 7.938 kB / 1.211 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9076, allocations: 7.938 kB / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.9077, allocations: 0 / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.155e-05/0.9078, allocations: 12 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.9078, allocations: 0 / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.9078, allocations: 0 / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.9078, allocations: 0 / 1.212 GB, free: 8.969 MB / 0.9356 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 0.0001733/0.908, allocations: 117.8 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.9081, allocations: 11.83 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.9083, allocations: 65.66 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.9083, allocations: 4 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9083, allocations: 4 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9083, allocations: 0 / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.9085, allocations: 161.7 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.9085, allocations: 0 / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.9087, allocations: 12 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.9087, allocations: 3.938 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.9087, allocations: 4.062 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.9087, allocations: 3.938 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.9087, allocations: 4 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.909, allocations: 109.1 kB / 1.212 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.9091, allocations: 84.98 kB / 1.212 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.9091, allocations: 4 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.9092, allocations: 0 / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.9092, allocations: 7.984 kB / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.9092, allocations: 0 / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.9093, allocations: 75.28 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9093, allocations: 4 kB / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004544/0.9098, allocations: 12.06 kB / 1.212 GB, free: 8.184 MB / 0.9356 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.0006866/0.9105, allocations: 0.6475 MB / 1.213 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.9106, allocations: 35.97 kB / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9107, allocations: 0 / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/0.9107, allocations: 20 kB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.911, allocations: 12 kB / 1.213 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.9126, allocations: 1.168 MB / 1.214 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.9131, allocations: 0.6806 MB / 1.215 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.9132, allocations: 7.938 kB / 1.215 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.9132, allocations: 11.44 kB / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/0.9132, allocations: 0 / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.9411, allocations: 1.381 MB / 1.216 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.476, allocations: 13.88 kB / 1.216 GB, free: 4.285 MB / 0.9356 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