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.0009983/0.0009983, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00783/0.00783, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 9.719 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2713, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.001354/0.2727, allocations: 0.986 MB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.2737, allocations: 0.6153 MB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.2737, allocations: 0 / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.2738, allocations: 0 / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.2738, allocations: 3.938 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.2743, allocations: 115.6 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.2743, allocations: 12 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.2744, allocations: 7.984 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.2744, allocations: 7.984 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.2745, allocations: 7.938 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2745, allocations: 4 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.2748, allocations: 219.6 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.2748, allocations: 0 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2749, allocations: 37.69 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.2751, allocations: 132 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2751, allocations: 3.938 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2751, allocations: 0 / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.2751, allocations: 0 / 1.061 GB, free: 2.691 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.0003471/0.2755, allocations: 347.5 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2755, allocations: 11.97 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.2756, allocations: 38.69 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2757, allocations: 8.922 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.901e-05/0.2758, allocations: 164.4 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2758, allocations: 384 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.2758, allocations: 8.375 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.2759, allocations: 38.25 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2759, allocations: 3.938 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2759, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.276, allocations: 4 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.276, allocations: 7.984 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.2761, allocations: 149.7 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.2763, allocations: 50.55 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.2764, allocations: 20.94 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2764, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2764, allocations: 34.56 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2764, allocations: 4 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006426/0.2771, allocations: 318.5 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.2771, allocations: 55.34 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.393e-05/0.2771, allocations: 89.86 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.2772, allocations: 25.7 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.2772, allocations: 80.14 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2772, allocations: 31.58 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.2773, allocations: 13.72 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.2774, allocations: 318.8 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.2774, allocations: 11.98 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.2774, allocations: 8 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.2775, allocations: 32.84 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2775, allocations: 4 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.2776, allocations: 57.69 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2776, allocations: 9.5 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2776, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2776, allocations: 4 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.2777, allocations: 19.92 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2777, allocations: 4 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.2778, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.2778, allocations: 4 kB / 1.063 GB, free: 484 kB / 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.121e-05/0.2778, allocations: 109.8 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.2779, allocations: 11.88 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.278, allocations: 65.64 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.278, allocations: 0 / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.278, allocations: 0 / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.278, allocations: 3.938 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.749e-05/0.2781, allocations: 161.7 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2781, allocations: 0 / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.2782, allocations: 15.98 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2782, allocations: 3.938 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2782, allocations: 4 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2782, allocations: 0 / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2783, allocations: 0 / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.2784, allocations: 97.03 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.2785, allocations: 89.09 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.2785, allocations: 192 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.2786, allocations: 8.031 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.2786, allocations: 7.938 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2786, allocations: 7.938 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.2786, allocations: 75.28 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2786, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001841/0.2788, allocations: 8 kB / 1.063 GB, free: 15.71 MB / 0.8262 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.0003696/0.2792, allocations: 0.6398 MB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.995e-05/0.2793, allocations: 35.92 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2793, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/0.2793, allocations: 19.98 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.2795, allocations: 5.828 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/0.2804, allocations: 1.162 MB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2807, allocations: 0.6809 MB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.654e-05/0.2807, allocations: 3.984 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.2808, allocations: 15.42 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2808, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.2914, allocations: 1.18 MB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.2917, allocations: 271.1 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.924, allocations: 0 / 1.067 GB, free: 11.71 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