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.00886/0.00886, allocations: 100.6 kB / 15.73 MB, free: 6.062 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.002232/0.002232, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.429/2.429, allocations: 437.1 MB / 0.7106 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 67.83 kB / 1.018 GB, free: 9.805 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8079, allocations: 151.6 MB / 1.166 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002017/0.8099, allocations: 1.257 MB / 1.167 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005315/0.8105, allocations: 317.5 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.8105, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.8105, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.8106, allocations: 7.938 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.8108, allocations: 59.75 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.684e-05/0.8109, allocations: 11.94 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.8109, allocations: 11.97 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.8109, allocations: 4 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.811, allocations: 4 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.811, allocations: 0 / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.8112, allocations: 71.92 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.8112, allocations: 3.984 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.8112, allocations: 11.92 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.8113, allocations: 47.73 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8113, allocations: 4 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8113, allocations: 0 / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.8114, allocations: 0 / 1.168 GB, free: 1.891 MB / 0.8887 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.0003201/0.8117, allocations: 327.3 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.8117, allocations: 12.03 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.8118, allocations: 30.75 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.8119, allocations: 16.8 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.812, allocations: 168.3 kB / 1.168 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.812, allocations: 4.375 kB / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.812, allocations: 4.375 kB / 1.168 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.8121, allocations: 46.23 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8121, allocations: 3.938 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.8121, allocations: 4 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.8121, allocations: 0 / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.8122, allocations: 11.98 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.8123, allocations: 153.7 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.8125, allocations: 62.52 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.8125, allocations: 16.86 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.8126, allocations: 0 / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.8126, allocations: 30.56 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.8126, allocations: 0 / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.001171/0.8138, allocations: 402.3 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.8138, allocations: 51.41 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.138e-05/0.8139, allocations: 89.86 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.8139, allocations: 29.7 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.8139, allocations: 88.12 kB / 1.169 GB, free: 120 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.814, allocations: 23.8 kB / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.814, allocations: 17.72 kB / 1.169 GB, free: 72 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8141, allocations: 318.8 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.8142, allocations: 19.94 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.8142, allocations: 23.97 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.8143, allocations: 40.86 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.8143, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001249/0.8144, allocations: 77.67 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.8145, allocations: 7.938 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.8145, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.8145, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.8146, allocations: 19.94 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.8146, allocations: 3.984 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.8146, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.8146, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 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.164e-05/0.8147, allocations: 113.8 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.8147, allocations: 7.891 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.8149, allocations: 93.62 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8149, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.815, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.815, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.8151, allocations: 169.6 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8151, allocations: 3.938 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.8152, allocations: 15.94 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8152, allocations: 3.938 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.8152, allocations: 8 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8152, allocations: 4.312 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8152, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.8154, allocations: 117.1 kB / 1.17 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.8155, allocations: 89.03 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.8155, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.8156, allocations: 7.984 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.8156, allocations: 4.062 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.8156, allocations: 8.062 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.89e-05/0.8156, allocations: 79.22 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8156, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001767/0.8158, allocations: 8 kB / 1.171 GB, free: 14.72 MB / 0.9044 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.0004391/0.8163, allocations: 0.6711 MB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.8164, allocations: 43.92 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.8164, allocations: 4 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.8164, allocations: 16 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.8166, allocations: 11.98 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000964/0.8176, allocations: 1.177 MB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.8178, allocations: 0.6729 MB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.911e-05/0.8179, allocations: 11.98 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.8179, allocations: 15.44 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8179, allocations: 4 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2996/1.118, allocations: 1.671 MB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.764/9.882, allocations: 13.3 kB / 1.175 GB, free: 10.48 MB / 0.9044 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=400 --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