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.005506/0.005506, allocations: 98.81 kB / 15.73 MB, free: 5.949 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.001207/0.001207, allocations: 197.1 kB / 16.68 MB, free: 5.875 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.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.362/2.362, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7728, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002195/0.775, allocations: 1.246 MB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000535/0.7756, allocations: 322.8 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.7756, allocations: 0.9688 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.7757, allocations: 0.7969 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.7757, allocations: 3.938 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.776, allocations: 58.58 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.7761, allocations: 9.125 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.7762, allocations: 2.328 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.7762, allocations: 17.33 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.7763, allocations: 8.531 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.7763, allocations: 1.125 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.7764, allocations: 65.12 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.7765, allocations: 6.281 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.7765, allocations: 8 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.7766, allocations: 46.92 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7767, allocations: 0 / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.558e-06/0.7767, allocations: 1.781 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.7767, allocations: 0 / 1.089 GB, free: 4.102 MB / 0.8575 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.0003873/0.7771, allocations: 336.4 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7771, allocations: 10.84 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.7772, allocations: 43.69 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.7773, allocations: 6.938 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.409e-05/0.7774, allocations: 162.8 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.7774, allocations: 1.5 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.7774, allocations: 2.172 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.7775, allocations: 44.12 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7776, allocations: 7.938 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.7776, allocations: 0 / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.7776, allocations: 1.375 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.7776, allocations: 13.45 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.7778, allocations: 154.8 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.778, allocations: 49.78 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.778, allocations: 26.27 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.7781, allocations: 5.125 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.7781, allocations: 32.44 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7781, allocations: 0 / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.001409/0.7795, allocations: 396.6 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.7795, allocations: 56.06 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.901e-05/0.7796, allocations: 90.83 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.7796, allocations: 31.22 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.7796, allocations: 88.08 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.7796, allocations: 23.5 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.7797, allocations: 20.91 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.245e-05/0.7798, allocations: 317.3 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.433e-05/0.7798, allocations: 15.28 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.7798, allocations: 18.56 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/0.7799, allocations: 51.66 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.7799, allocations: 0 / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001298/0.7801, allocations: 73.81 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7801, allocations: 10.12 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7801, allocations: 0.5625 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.7801, allocations: 1.062 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.7802, allocations: 19.64 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7803, allocations: 1.062 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.7803, allocations: 1.984 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.7803, allocations: 5.188 kB / 1.091 GB, free: 2.105 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 6.533e-05/0.7804, allocations: 113.1 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.7804, allocations: 5.688 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.7806, allocations: 90.77 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7807, allocations: 5.125 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7807, allocations: 1.672 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7807, allocations: 4.641 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.694e-05/0.7808, allocations: 166.5 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7808, allocations: 0.6562 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.7809, allocations: 16.02 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7809, allocations: 5.578 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.7809, allocations: 1.094 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7809, allocations: 0 / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7809, allocations: 1.859 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.7811, allocations: 122.6 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.7812, allocations: 82.94 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.7812, allocations: 1.094 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.7813, allocations: 4.594 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.7813, allocations: 11.94 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.7813, allocations: 2.984 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.274e-05/0.7813, allocations: 75.34 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.7813, allocations: 5.125 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001883/0.7815, allocations: 10.53 kB / 1.092 GB, free: 1.426 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.0003992/0.7819, allocations: 0.6646 MB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.7821, allocations: 43.53 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7821, allocations: 12 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.7822, allocations: 26.09 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.7824, allocations: 8.562 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.7835, allocations: 1.182 MB / 1.094 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.7838, allocations: 0.6814 MB / 1.095 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.032e-05/0.7838, allocations: 8.438 kB / 1.095 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.7839, allocations: 15.62 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7839, allocations: 0.7188 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.803, allocations: 1.669 MB / 1.096 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/8.068, allocations: 6.906 kB / 1.096 GB, free: 14.58 MB / 0.8731 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