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.001659/0.001659, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002064/0.002064, allocations: 191 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.216/2.216, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.017/4.017, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 66.02 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3767, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.003924/0.3807, allocations: 1.307 MB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3818, allocations: 0.6269 MB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.3819, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.382, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.382, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.3826, allocations: 119.6 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3827, allocations: 19.92 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.3828, allocations: 0 / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.3829, allocations: 7.984 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.383, allocations: 15.92 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.383, allocations: 4 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005411/0.3835, allocations: 211.6 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.3836, allocations: 4 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.3836, allocations: 3.984 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.3841, allocations: 136 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.3841, allocations: 7.922 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3841, allocations: 0 / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3841, allocations: 0 / 1.055 GB, free: 6.188 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.0004906/0.3846, allocations: 343.5 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.3847, allocations: 12.62 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.3848, allocations: 42.75 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.385, allocations: 8.922 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3851, allocations: 160.4 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3851, allocations: 384 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.3852, allocations: 4.375 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3853, allocations: 38.25 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3854, allocations: 7.875 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3854, allocations: 8 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3854, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.3855, allocations: 11.98 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.3857, allocations: 157.6 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3859, allocations: 42.59 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.386, allocations: 16.86 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.386, allocations: 0 / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.386, allocations: 50.58 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.386, allocations: 0 / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0007379/0.3868, allocations: 298.2 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.3868, allocations: 51.41 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.556e-05/0.3869, allocations: 89.86 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3869, allocations: 33.7 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.3869, allocations: 88.08 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.387, allocations: 15.66 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.387, allocations: 21.7 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.3871, allocations: 318.8 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.3872, allocations: 4 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.3872, allocations: 15.98 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.3873, allocations: 28.86 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3873, allocations: 4 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000113/0.3874, allocations: 69.61 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3874, allocations: 7.938 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3874, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3875, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.3876, allocations: 12 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.3876, allocations: 4.219 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3876, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3877, allocations: 4 kB / 1.057 GB, free: 3.977 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 0.0001118/0.3878, allocations: 111.4 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.3878, allocations: 7.875 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.388, allocations: 85.56 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.3881, allocations: 4 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3881, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3881, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3882, allocations: 157.7 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3883, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.3884, allocations: 12.06 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3884, allocations: 3.938 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3885, allocations: 4 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3885, allocations: 3.984 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3885, allocations: 4 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3888, allocations: 113 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.3888, allocations: 81.05 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3889, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.389, allocations: 8.016 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.389, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.389, allocations: 4 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.67e-05/0.3891, allocations: 79.34 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3891, allocations: 3.938 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002138/0.3893, allocations: 8 kB / 1.057 GB, free: 3.199 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.0006305/0.3899, allocations: 0.6436 MB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.3901, allocations: 35.97 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3901, allocations: 4.062 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.3902, allocations: 23.92 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3905, allocations: 8 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3917, allocations: 1.166 MB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.392, allocations: 0.6807 MB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.392, allocations: 4.312 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.3921, allocations: 20.97 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3921, allocations: 0 / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.4132, allocations: 1.265 MB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004552/0.4138, allocations: 275.1 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/2.75, allocations: 6.234 kB / 1.061 GB, free: 15.07 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