Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_amb,fileNamePrefix="Buildings_10_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_10_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.008351/0.008351, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001885/0.001885, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.598/2.598, allocations: 437 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7612, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002919/0.7642, allocations: 1.243 MB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.7653, allocations: 0.6293 MB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.7654, allocations: 0 / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.7654, allocations: 0 / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.415e-05/0.7655, allocations: 7.922 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.766, allocations: 139.3 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.7661, allocations: 15.98 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.7662, allocations: 0 / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.7662, allocations: 7.984 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.7663, allocations: 7.984 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.7663, allocations: 3.938 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.7667, allocations: 223.6 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.7667, allocations: 0 / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.7668, allocations: 15.92 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.767, allocations: 130 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7671, allocations: 0 / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.016e-06/0.7671, allocations: 4 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7671, allocations: 3.938 kB / 1.169 GB, free: 1.293 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.0004584/0.7675, allocations: 347.5 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.7676, allocations: 8.922 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.7676, allocations: 34.69 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.7678, allocations: 8.922 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.7679, allocations: 164.4 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.7679, allocations: 4.375 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.7679, allocations: 4.375 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.7681, allocations: 42.25 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.7681, allocations: 3.938 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7681, allocations: 0 / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.7681, allocations: 0 / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.7682, allocations: 11.98 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.7684, allocations: 165.6 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.7686, allocations: 42.61 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.7687, allocations: 20.84 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.7687, allocations: 0 / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.7688, allocations: 30.66 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.7688, allocations: 0 / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0008152/0.7696, allocations: 306.2 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.7696, allocations: 59.41 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/0.7697, allocations: 93.84 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.7697, allocations: 29.64 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.7698, allocations: 84.14 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.7698, allocations: 19.66 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.7699, allocations: 17.72 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.77, allocations: 318.8 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.7701, allocations: 8 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.7701, allocations: 15.98 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/0.7702, allocations: 40.98 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.7702, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001043/0.7703, allocations: 57.69 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.7703, allocations: 15.88 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7703, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7704, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.7704, allocations: 15.88 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.7705, allocations: 4 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.7705, allocations: 7.984 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.7705, allocations: 4 kB / 1.17 GB, free: 15.07 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 8.965e-05/0.7706, allocations: 109.8 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7706, allocations: 7.844 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.7708, allocations: 69.64 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.7708, allocations: 7.938 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7708, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7708, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.7709, allocations: 153.7 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.771, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.771, allocations: 16 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.771, allocations: 3.938 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.7711, allocations: 0 / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7711, allocations: 128 / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7711, allocations: 4 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.7713, allocations: 101.1 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.7713, allocations: 85.08 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.7713, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.7714, allocations: 8.391 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.7714, allocations: 7.922 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-06/0.7714, allocations: 4 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.378e-05/0.7715, allocations: 75.28 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.7715, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003678/0.7718, allocations: 8 kB / 1.171 GB, free: 14.31 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 (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.000412/0.7723, allocations: 0.6436 MB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.7724, allocations: 35.92 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7724, allocations: 0 / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.7724, allocations: 16 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.7727, allocations: 8 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.7737, allocations: 1.146 MB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.7739, allocations: 0.6845 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.774, allocations: 8 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.774, allocations: 14.09 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.774, allocations: 0 / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.7954, allocations: 1.392 MB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.416, allocations: 11.02 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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