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.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_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.00148/0.001485, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 68.34 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2627, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002317/0.2651, allocations: 1.266 MB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009004/0.266, allocations: 0.6229 MB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.2661, allocations: 0 / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.2661, allocations: 3.984 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.308e-05/0.2661, allocations: 0 / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.2665, allocations: 135.4 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.055e-05/0.2666, allocations: 11.97 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.2666, allocations: 4 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.2667, allocations: 8 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.2667, allocations: 11.92 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.2668, allocations: 0 / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.2671, allocations: 219.6 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.2671, allocations: 7.984 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.2671, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.2674, allocations: 136 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2674, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2674, allocations: 4 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2674, allocations: 0 / 1.055 GB, free: 5.84 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.0004146/0.2678, allocations: 347.5 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2679, allocations: 12.62 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.2679, allocations: 34.73 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.268, allocations: 4.938 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.916e-05/0.2681, allocations: 172.2 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.2681, allocations: 384 / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.2682, allocations: 12.38 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2683, allocations: 38.25 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2683, allocations: 3.938 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2683, allocations: 4 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.2683, allocations: 3.984 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.2684, allocations: 4 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.2685, allocations: 153.7 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.2687, allocations: 50.55 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.2687, allocations: 20.94 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2688, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2688, allocations: 34.56 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2688, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.00065/0.2695, allocations: 310.2 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2695, allocations: 55.41 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.925e-05/0.2696, allocations: 89.86 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2696, allocations: 25.7 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.2696, allocations: 80.14 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.2697, allocations: 31.58 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.2697, allocations: 21.7 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2698, allocations: 314.8 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.2698, allocations: 11.94 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.2699, allocations: 19.98 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.2699, allocations: 24.86 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2699, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001043/0.27, allocations: 65.69 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2701, allocations: 7.938 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2701, allocations: 0 / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2701, allocations: 0 / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.2702, allocations: 19.92 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2702, allocations: 240 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.2702, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2702, allocations: 8 kB / 1.057 GB, free: 3.617 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.475e-05/0.2703, allocations: 109.8 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.2703, allocations: 7.938 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.2705, allocations: 69.7 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2705, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2705, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2705, allocations: 336 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.2706, allocations: 165.7 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2706, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.2707, allocations: 19.88 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.2707, allocations: 11.91 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2707, allocations: 4 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2707, allocations: 0 / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2707, allocations: 3.984 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.2709, allocations: 101 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.2709, allocations: 81.05 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.271, allocations: 4 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.271, allocations: 12.08 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.271, allocations: 4 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2711, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.2711, allocations: 75.28 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.442e-06/0.2711, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001865/0.2713, allocations: 11.94 kB / 1.058 GB, free: 2.848 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.0003671/0.2717, allocations: 0.6436 MB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.887e-05/0.2718, allocations: 35.92 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2718, allocations: 4 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.2718, allocations: 12 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.272, allocations: 12.3 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.2729, allocations: 1.146 MB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.2731, allocations: 0.6807 MB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.2732, allocations: 4 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.2732, allocations: 15.44 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2732, allocations: 0 / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.2921, allocations: 1.366 MB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.129/7.421, allocations: 5 kB / 1.062 GB, free: 14.98 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