Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_latest_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.00153/0.00153, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001798/0.001798, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.525/1.525, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.866/3.866, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 58.84 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4306, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.003473/0.4341, allocations: 1.317 MB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00086/0.435, allocations: 315 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.435, allocations: 7.938 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.4351, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.4351, allocations: 7.922 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.4356, allocations: 55.81 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.639e-05/0.4356, allocations: 8 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/0.4357, allocations: 3.984 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.4357, allocations: 8 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.162e-05/0.4358, allocations: 4 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.4358, allocations: 0 / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.4361, allocations: 71.91 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.4361, allocations: 15.92 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.4361, allocations: 8 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.4363, allocations: 35.94 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.4363, allocations: 4 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4363, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4363, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 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.0004455/0.4368, allocations: 335.7 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4368, allocations: 8.625 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.4369, allocations: 38.75 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.4371, allocations: 12.92 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.4372, allocations: 168.3 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4372, allocations: 4.375 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.4373, allocations: 384 / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4374, allocations: 46.23 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4375, allocations: 3.938 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4375, allocations: 4 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4375, allocations: 4 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.4376, allocations: 7.984 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.4378, allocations: 165.7 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.438, allocations: 46.5 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.4381, allocations: 16.86 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.4381, allocations: 0 / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4381, allocations: 38.64 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.4382, allocations: 0 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.001926/0.4401, allocations: 394.1 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4402, allocations: 59.34 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.4402, allocations: 93.84 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.4403, allocations: 29.7 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.4403, allocations: 80.14 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.4404, allocations: 23.66 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.4404, allocations: 21.7 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4406, allocations: 314.8 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.4406, allocations: 15.94 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.4407, allocations: 23.98 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.4409, allocations: 44.84 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4409, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002035/0.4411, allocations: 69.69 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4411, allocations: 17.81 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4412, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4412, allocations: 3.938 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4413, allocations: 15.92 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4414, allocations: 4.234 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.4415, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.4415, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 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 9.956e-05/0.4416, allocations: 115.4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.4416, allocations: 3.938 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.4419, allocations: 101.6 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.442, allocations: 336 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.442, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.442, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.4422, allocations: 169.6 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4422, allocations: 4 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.4423, allocations: 15.94 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.4423, allocations: 3.938 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4424, allocations: 4 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4424, allocations: 4.062 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4424, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.4428, allocations: 125 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.443, allocations: 81.05 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.443, allocations: 8.047 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.4431, allocations: 4.031 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.4432, allocations: 4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.4432, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.07e-05/0.4432, allocations: 83.25 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.4432, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003393/0.4436, allocations: 4 kB / 1.057 GB, free: 3.656 MB / 0.8106 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.0005882/0.4442, allocations: 0.6671 MB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.4444, allocations: 55.91 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4444, allocations: 0 / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.4445, allocations: 23.98 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4448, allocations: 8 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.4462, allocations: 1.191 MB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.4465, allocations: 0.6884 MB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.4466, allocations: 11.98 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.4467, allocations: 11.44 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.4467, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.4666, allocations: 1.555 MB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003993/0.467, allocations: 265.3 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/2.993, allocations: 2.031 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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