Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_10_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.001337/0.001337, 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.001569/0.001569, allocations: 194.1 kB / 16.14 MB, free: 6.645 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 68.05 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5377, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002396/0.5401, allocations: 1.318 MB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006206/0.5407, allocations: 315 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.179e-05/0.5408, allocations: 0 / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.5408, allocations: 0 / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.5409, allocations: 0 / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.5411, allocations: 51.81 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.69e-05/0.5412, allocations: 15.94 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.5412, allocations: 11.98 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.5413, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.5413, allocations: 7.984 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.5414, allocations: 7.875 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.5415, allocations: 67.92 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.5415, allocations: 3.984 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.5416, allocations: 11.94 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.5417, allocations: 43.94 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.5417, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5417, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.5417, allocations: 4 kB / 1.019 GB, free: 1.02 MB / 0.7637 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.0003517/0.5421, allocations: 337.8 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.5421, allocations: 11.97 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.5422, allocations: 34.73 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.5423, allocations: 8.922 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.5424, allocations: 164.4 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.5424, allocations: 384 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.5424, allocations: 4.375 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.5425, allocations: 58.17 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.5426, allocations: 3.938 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.5426, allocations: 0 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.5426, allocations: 0 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.5426, allocations: 15.98 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.5428, allocations: 157.7 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.543, allocations: 46.56 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.543, allocations: 20.8 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.543, allocations: 4 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.5431, allocations: 38.64 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5431, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.001343/0.5444, allocations: 394.1 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.5445, allocations: 55.41 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.788e-05/0.5445, allocations: 93.84 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.5445, allocations: 25.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.5446, allocations: 80.14 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.5446, allocations: 19.72 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.5446, allocations: 21.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.5448, allocations: 314.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.31e-05/0.5448, allocations: 16 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.5448, allocations: 19.98 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.5449, allocations: 48.78 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5449, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001259/0.5451, allocations: 77.67 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5451, allocations: 7.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5451, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.5451, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.5452, allocations: 19.92 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5452, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.5453, allocations: 12 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5453, allocations: 8.234 kB / 1.021 GB, free: 14.66 MB / 0.7794 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.958e-05/0.5454, allocations: 110.3 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.5454, allocations: 7.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.5456, allocations: 101.9 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5456, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5456, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5457, allocations: 7.984 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.5458, allocations: 161.7 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5458, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.5459, allocations: 8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5459, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5459, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5459, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5459, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.5461, allocations: 125 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.5461, allocations: 85.08 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.5462, allocations: 7.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.5463, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.5463, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.5463, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.5463, allocations: 79.34 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5463, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001936/0.5465, allocations: 12 kB / 1.021 GB, free: 13.85 MB / 0.7794 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.0004116/0.5469, allocations: 0.6593 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.5471, allocations: 47.97 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5471, allocations: 4.062 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.5471, allocations: 27.92 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.5473, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.5483, allocations: 1.2 MB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.5485, allocations: 0.677 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.172e-05/0.5486, allocations: 8 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.5486, allocations: 15.42 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5487, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.5592, allocations: 1.498 MB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/0.5594, allocations: 259.9 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.278, allocations: 5.156 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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