Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_amb,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_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.001072/0.001071, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001116/0.001116, allocations: 193.9 kB / 16.14 MB, free: 6.648 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.6119, allocations: 140.4 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.001879/0.6138, allocations: 1.307 MB / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.6146, allocations: 0.6199 MB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.051e-05/0.6146, allocations: 0 / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.6147, allocations: 1.281 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.6147, allocations: 0 / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.615, allocations: 124.2 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.103e-05/0.6151, allocations: 15.89 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.6151, allocations: 5.438 kB / 0.9511 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.6152, allocations: 7.719 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.6152, allocations: 7.234 kB / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.6152, allocations: 1.719 kB / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.6155, allocations: 224.9 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.6155, allocations: 3.938 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.6155, allocations: 7.719 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.6158, allocations: 136.3 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6158, allocations: 0 / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6158, allocations: 1.594 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.6158, allocations: 0 / 0.9515 GB, free: 7.363 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.0003203/0.6161, allocations: 354.4 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6162, allocations: 9.031 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.308e-05/0.6162, allocations: 32 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.6163, allocations: 8.844 kB / 0.9519 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.351e-05/0.6164, allocations: 173.5 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.6164, allocations: 1.344 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.6164, allocations: 5.438 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.6165, allocations: 36.72 kB / 0.9521 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6165, allocations: 5.469 kB / 0.9521 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.6165, allocations: 7.984 kB / 0.9521 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.6166, allocations: 0 / 0.9521 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.447e-05/0.6166, allocations: 6.312 kB / 0.9521 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.6167, allocations: 153.5 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.6169, allocations: 51.55 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.6169, allocations: 20.25 kB / 0.9523 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.6169, allocations: 1.188 kB / 0.9523 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.617, allocations: 31.66 kB / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.617, allocations: 0 / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006209/0.6176, allocations: 310.4 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.6176, allocations: 53.41 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.708e-05/0.6176, allocations: 89.86 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.6176, allocations: 25.7 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.6177, allocations: 80.14 kB / 0.9529 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.6177, allocations: 27.03 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.6177, allocations: 17.66 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.6178, allocations: 316.2 kB / 0.9532 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.6178, allocations: 13.89 kB / 0.9532 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.6178, allocations: 11.62 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.6179, allocations: 30.42 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6179, allocations: 0.8125 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.577e-05/0.618, allocations: 66.84 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.618, allocations: 9.75 kB / 0.9533 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.618, allocations: 0 / 0.9533 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6181, allocations: 1.469 kB / 0.9533 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.6181, allocations: 12.55 kB / 0.9533 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.6181, allocations: 9.469 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.6182, allocations: 3.938 kB / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.6182, allocations: 2.781 kB / 0.9534 GB, free: 5.352 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.542e-05/0.6182, allocations: 115.2 kB / 0.9535 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.6183, allocations: 5.344 kB / 0.9535 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.6184, allocations: 71.42 kB / 0.9535 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6184, allocations: 1.734 kB / 0.9535 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6184, allocations: 0 / 0.9535 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6184, allocations: 4 kB / 0.9535 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.707e-05/0.6185, allocations: 163.7 kB / 0.9537 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6185, allocations: 3.984 kB / 0.9537 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.6186, allocations: 17.39 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6186, allocations: 4.906 kB / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.6186, allocations: 1.156 kB / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6186, allocations: 0 / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6186, allocations: 0 / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.6187, allocations: 94.23 kB / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.6188, allocations: 90.02 kB / 0.9539 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.6188, allocations: 4.922 kB / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.6188, allocations: 7.594 kB / 0.9539 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.6189, allocations: 2.844 kB / 0.9539 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.6189, allocations: 1.5 kB / 0.9539 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.278e-05/0.6189, allocations: 75.28 kB / 0.954 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6189, allocations: 0 / 0.954 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001799/0.6191, allocations: 5.812 kB / 0.954 GB, free: 4.672 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 (6): * Single equations (assignments): 6 * 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.0002797/0.6194, allocations: 0.6459 MB / 0.9546 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.688e-05/0.6195, allocations: 36.03 kB / 0.9547 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6195, allocations: 0 / 0.9547 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.6195, allocations: 22.89 kB / 0.9547 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.6197, allocations: 3.281 kB / 0.9547 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006553/0.6204, allocations: 1.171 MB / 0.9558 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.41e-05/0.6205, allocations: 0.678 MB / 0.9565 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.6205, allocations: 2.594 kB / 0.9565 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.6206, allocations: 10.47 kB / 0.9565 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.6206, allocations: 0 / 0.9565 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.6308, allocations: 1.231 MB / 0.9577 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.6309, allocations: 266.9 kB / 0.958 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.218, allocations: 3.938 kB / 0.958 GB, free: 1.219 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_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:T,der(T),der(y),der(y_comp),err,time,y,y_comp