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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001147/0.001147, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5979, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002268/0.6002, allocations: 1.25 MB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.6008, allocations: 315 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.6008, allocations: 4 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.6009, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.6009, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.6012, allocations: 55.75 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.6013, allocations: 19.88 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.6013, allocations: 11.98 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.581e-05/0.6014, allocations: 7.984 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.6014, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.6015, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.6016, allocations: 71.86 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.6016, allocations: 3.984 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.6017, allocations: 15.92 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.6018, allocations: 43.94 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6018, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6018, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.6018, allocations: 0 / 1.019 GB, free: 0.6445 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.000425/0.6023, allocations: 337.7 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6023, allocations: 12.03 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.6023, allocations: 34.69 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.6025, allocations: 8.922 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.193e-05/0.6026, allocations: 160.4 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.6026, allocations: 384 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.6027, allocations: 8.484 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.6028, allocations: 50.17 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6028, allocations: 7.938 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6028, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6028, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.007e-05/0.6029, allocations: 15.98 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.6031, allocations: 153.7 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.6032, allocations: 50.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.6033, allocations: 16.86 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.6033, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.6033, allocations: 34.64 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.514e-06/0.6033, allocations: 3.984 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.001336/0.6047, allocations: 398.1 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.6047, allocations: 55.41 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.75e-05/0.6048, allocations: 93.84 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.6048, allocations: 25.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.6048, allocations: 80.14 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.6049, allocations: 19.72 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.6049, allocations: 21.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.605, allocations: 314.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.206e-05/0.6051, allocations: 16 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.6051, allocations: 15.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.6052, allocations: 52.78 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.6052, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001354/0.6054, allocations: 77.67 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.6054, allocations: 7.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.6054, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.6054, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.6055, allocations: 15.98 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.6055, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.6056, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.6056, allocations: 7.828 kB / 1.021 GB, free: 14.3 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 7.676e-05/0.6057, allocations: 117.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.6057, allocations: 7.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.6059, allocations: 93.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6059, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6059, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6059, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.6061, allocations: 169.6 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6061, allocations: 8.062 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.6062, allocations: 8 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.6062, allocations: 3.938 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.6062, allocations: 4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.6062, allocations: 4.016 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6062, allocations: 3.984 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.6064, allocations: 121 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.6064, allocations: 85.08 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.6065, allocations: 3.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.6065, allocations: 8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.6066, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.6066, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.761e-05/0.6066, allocations: 75.28 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6066, allocations: 4.062 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001822/0.6068, allocations: 8 kB / 1.022 GB, free: 13.48 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.0004143/0.6072, allocations: 0.6671 MB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.6074, allocations: 47.92 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6074, allocations: 64 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.6074, allocations: 27.98 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.6076, allocations: 7.531 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.6086, allocations: 1.182 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.6088, allocations: 0.6807 MB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.76e-05/0.6089, allocations: 15.98 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.609, allocations: 11.44 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.609, allocations: 3.938 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.6398, allocations: 1.638 MB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.187, allocations: 16.03 kB / 1.026 GB, free: 9.234 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