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.001263/0.001263, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001285/0.001285, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.242/1.242, allocations: 222.9 MB / 239.9 MB, free: 4.418 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.139/2.139, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5036, allocations: 140.4 MB / 0.9492 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.001983/0.5057, allocations: 1.309 MB / 0.9505 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.5061, allocations: 310.3 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.301e-05/0.5062, allocations: 0 / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.5062, allocations: 0 / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.5062, allocations: 5.359 kB / 0.9508 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.5065, allocations: 49.7 kB / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.5065, allocations: 10.88 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.5066, allocations: 14.72 kB / 0.9509 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.5066, allocations: 6.688 kB / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.5067, allocations: 4.125 kB / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.5067, allocations: 0 / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.5068, allocations: 74.3 kB / 0.951 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.5068, allocations: 9.344 kB / 0.951 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.5068, allocations: 6.688 kB / 0.951 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.725e-05/0.5069, allocations: 41.81 kB / 0.951 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5069, allocations: 1.375 kB / 0.951 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5069, allocations: 0 / 0.951 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.507, allocations: 0 / 0.951 GB, free: 7.812 MB / 0.7169 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.0002469/0.5072, allocations: 339 kB / 0.9514 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5073, allocations: 9.625 kB / 0.9514 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.259e-05/0.5073, allocations: 38.69 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.5074, allocations: 12.95 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.553e-05/0.5075, allocations: 160.4 kB / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.5075, allocations: 1.75 kB / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.5075, allocations: 11.06 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.5076, allocations: 45.11 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5076, allocations: 7.938 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.5076, allocations: 1.375 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5076, allocations: 0 / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.924e-05/0.5077, allocations: 14.64 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.529e-05/0.5078, allocations: 158.9 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.5079, allocations: 48.66 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.508, allocations: 16.67 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.508, allocations: 5.062 kB / 0.9519 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.508, allocations: 35.95 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.508, allocations: 0 / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.001201/0.5092, allocations: 400.3 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.5092, allocations: 60.56 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.242e-05/0.5093, allocations: 93.84 kB / 0.9524 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.5093, allocations: 26.95 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.341e-05/0.5093, allocations: 80.14 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.5093, allocations: 18.41 kB / 0.9526 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.5094, allocations: 23.11 kB / 0.9526 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3e-05/0.5094, allocations: 312.3 kB / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.5094, allocations: 11.69 kB / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.5095, allocations: 29.75 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.5095, allocations: 44.78 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5095, allocations: 0 / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001049/0.5097, allocations: 77.03 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5097, allocations: 8.188 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5097, allocations: 1.531 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5097, allocations: 0 / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.5098, allocations: 17.86 kB / 0.9531 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5098, allocations: 0 / 0.9531 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.5099, allocations: 1.719 kB / 0.9531 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.5099, allocations: 5.469 kB / 0.9531 GB, free: 5.734 MB / 0.7169 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 4.556e-05/0.5099, allocations: 111.2 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.5099, allocations: 6.312 kB / 0.9532 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.5101, allocations: 99.09 kB / 0.9533 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5101, allocations: 1.406 kB / 0.9533 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5101, allocations: 0 / 0.9533 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5102, allocations: 3.938 kB / 0.9533 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.793e-05/0.5102, allocations: 173.8 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5102, allocations: 3.938 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.5103, allocations: 19.78 kB / 0.9535 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5103, allocations: 3.938 kB / 0.9535 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5104, allocations: 5.469 kB / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5104, allocations: 0 / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5104, allocations: 0 / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.5105, allocations: 124.4 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.5105, allocations: 81.05 kB / 0.9537 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.5106, allocations: 5.328 kB / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.5106, allocations: 3.438 kB / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.5107, allocations: 11.16 kB / 0.9537 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.5107, allocations: 1.25 kB / 0.9537 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.949e-06/0.5107, allocations: 79.34 kB / 0.9538 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5107, allocations: 1.188 kB / 0.9538 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001769/0.5109, allocations: 7.625 kB / 0.9538 GB, free: 5.008 MB / 0.7169 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.0002567/0.5111, allocations: 0.6634 MB / 0.9544 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.5113, allocations: 50.5 kB / 0.9545 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5113, allocations: 4.062 kB / 0.9545 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.5113, allocations: 27.02 kB / 0.9545 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.5115, allocations: 4.953 kB / 0.9545 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/0.5122, allocations: 1.186 MB / 0.9557 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.499e-05/0.5123, allocations: 0.6832 MB / 0.9563 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.832e-05/0.5124, allocations: 11.02 kB / 0.9563 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.5124, allocations: 17.91 kB / 0.9564 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of SimCode: time 3.8e-07/0.5124, allocations: 0 / 0.9564 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.5244, allocations: 1.553 MB / 0.9579 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.5246, allocations: 271.3 kB / 0.9581 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.172, allocations: 3.062 kB / 0.9581 GB, free: 1.391 MB / 0.7169 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