Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_amb,fileNamePrefix="Buildings_latest_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_latest_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.001469/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001769/0.001769, allocations: 194.9 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.2 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2549, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002238/0.2571, allocations: 1.309 MB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009319/0.2581, allocations: 0.6269 MB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.2581, allocations: 4 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.2582, allocations: 3.938 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.608e-05/0.2582, allocations: 0 / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.2586, allocations: 115.6 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.273e-05/0.2587, allocations: 11.98 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.212e-05/0.2587, allocations: 4 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.2587, allocations: 4 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.2588, allocations: 15.91 kB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.2588, allocations: 8 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.2591, allocations: 215.6 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.2592, allocations: 7.984 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.2592, allocations: 4 kB / 1.054 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.2594, allocations: 132 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2595, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2595, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2595, allocations: 0 / 1.055 GB, free: 5.75 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.00035/0.2598, allocations: 351.5 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2599, allocations: 19.95 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.2599, allocations: 34.75 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.26, allocations: 8.938 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.2601, allocations: 168.4 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.2602, allocations: 384 / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.2602, allocations: 384 / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.2603, allocations: 42.25 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2603, allocations: 3.938 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2603, allocations: 0 / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2603, allocations: 0 / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.188e-05/0.2604, allocations: 19.94 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.2605, allocations: 153.7 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.2607, allocations: 42.55 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.2607, allocations: 20.94 kB / 1.055 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2607, allocations: 0 / 1.055 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.2608, allocations: 38.56 kB / 1.055 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2608, allocations: 0 / 1.055 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006414/0.2614, allocations: 314.1 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2615, allocations: 59.34 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.972e-05/0.2615, allocations: 89.86 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2615, allocations: 29.7 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.2616, allocations: 80.14 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.2616, allocations: 27.66 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.2616, allocations: 21.7 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.2617, allocations: 310.8 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.2618, allocations: 12 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.2618, allocations: 7.984 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.016e-05/0.2619, allocations: 32.86 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2619, allocations: 0 / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.514e-05/0.262, allocations: 65.67 kB / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.262, allocations: 7.938 kB / 1.056 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.262, allocations: 4 kB / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.262, allocations: 3.938 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.2621, allocations: 15.98 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2621, allocations: 4 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.2621, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2622, allocations: 240 / 1.057 GB, free: 3.52 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 7.271e-05/0.2622, allocations: 113.8 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.2622, allocations: 3.938 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.2624, allocations: 81.89 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2624, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2624, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2624, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.2625, allocations: 153.7 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2625, allocations: 4 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.2626, allocations: 15.98 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2626, allocations: 3.938 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2626, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2626, allocations: 3.938 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2626, allocations: 0 / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.2628, allocations: 113.2 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.2628, allocations: 81.05 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2629, allocations: 3.984 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.2629, allocations: 7.938 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.263, allocations: 0 / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.263, allocations: 8 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.263, allocations: 75.28 kB / 1.057 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.263, allocations: 4.062 kB / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001866/0.2632, allocations: 4 kB / 1.057 GB, free: 2.754 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 (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.0003567/0.2636, allocations: 0.6436 MB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.051e-05/0.2637, allocations: 35.92 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2637, allocations: 4.062 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.2637, allocations: 16 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.2639, allocations: 10.62 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.2648, allocations: 1.152 MB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.265, allocations: 0.677 MB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.265, allocations: 4 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.2651, allocations: 19.38 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2651, allocations: 0 / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.2958, allocations: 1.238 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.2961, allocations: 268.1 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.959, allocations: 1.406 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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