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.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_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.00508/0.00508, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.00119/0.00119, allocations: 196.2 kB / 16.68 MB, free: 5.957 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.254/2.254, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8282, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002052/0.8303, allocations: 1.253 MB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.8311, allocations: 0.6224 MB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.8312, allocations: 0 / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.8312, allocations: 0.6562 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.789e-05/0.8312, allocations: 9.156 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.8316, allocations: 129 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.403e-05/0.8317, allocations: 13.84 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.8317, allocations: 2.453 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.8318, allocations: 12.84 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.8318, allocations: 13.09 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.8319, allocations: 0 / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.8322, allocations: 217.3 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.8322, allocations: 2.422 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.8322, allocations: 15.73 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.8325, allocations: 128.5 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8325, allocations: 3.938 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8325, allocations: 0 / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8325, allocations: 1.328 kB / 1.09 GB, free: 3.734 MB / 0.8575 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.0003146/0.8328, allocations: 348.2 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.8329, allocations: 10.22 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.8329, allocations: 36.22 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.833, allocations: 12.16 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.004e-05/0.8331, allocations: 161.4 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.8331, allocations: 1.281 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.8331, allocations: 2.938 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.949e-05/0.8332, allocations: 40.84 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.8332, allocations: 3.938 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.8332, allocations: 5.156 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.8333, allocations: 0 / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.8333, allocations: 20.48 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.8334, allocations: 157.5 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.8336, allocations: 39.3 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.8336, allocations: 17.28 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.8336, allocations: 1.781 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.8337, allocations: 35.56 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8337, allocations: 0 / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005863/0.8343, allocations: 310 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.8343, allocations: 52.75 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.603e-05/0.8343, allocations: 91.39 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.8343, allocations: 30.64 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.037e-05/0.8343, allocations: 80.14 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.8344, allocations: 19.89 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.8344, allocations: 23.89 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.8345, allocations: 317.8 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.8345, allocations: 11.38 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.8345, allocations: 8.297 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.8346, allocations: 36.42 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.8346, allocations: 0.9062 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.001e-05/0.8347, allocations: 63.2 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8347, allocations: 8.844 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8347, allocations: 0.7188 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.8347, allocations: 9.328 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.8348, allocations: 11.47 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.8348, allocations: 0 / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.8348, allocations: 5.062 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.8348, allocations: 2.828 kB / 1.092 GB, free: 1.785 MB / 0.8575 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.385e-05/0.8349, allocations: 107.6 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.8349, allocations: 10.78 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.835, allocations: 73.05 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8351, allocations: 1.859 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8351, allocations: 4 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.8351, allocations: 1.859 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.806e-05/0.8351, allocations: 154.4 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8352, allocations: 5.781 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.8352, allocations: 10.73 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.8352, allocations: 4.266 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.8352, allocations: 5.375 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.8352, allocations: 0.5625 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8353, allocations: 0 / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.8354, allocations: 107 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.8354, allocations: 86.84 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.8354, allocations: 1.469 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.8355, allocations: 5.656 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.8355, allocations: 3.297 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.8355, allocations: 1.781 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.266e-05/0.8355, allocations: 80.19 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8355, allocations: 0 / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001825/0.8357, allocations: 9.562 kB / 1.092 GB, free: 1.125 MB / 0.8575 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.0003364/0.8361, allocations: 0.6381 MB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.8362, allocations: 35.12 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8362, allocations: 0 / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-05/0.8362, allocations: 13.45 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.8364, allocations: 11 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.8373, allocations: 1.167 MB / 1.094 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.8375, allocations: 0.6775 MB / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.8376, allocations: 3.375 kB / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.47e-05/0.8376, allocations: 11.09 kB / 1.095 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of SimCode: time 9.72e-07/0.8376, allocations: 0 / 1.095 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.8561, allocations: 1.393 MB / 1.096 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/8.131, allocations: 12.75 kB / 1.096 GB, free: 14.31 MB / 0.8731 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