Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001307/0.001307, allocations: 108 kB / 15.61 MB, free: 152 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.001345/0.001345, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.03 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2613, 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.SaturationPressureDerivativeCheck): time 0.002306/0.2637, allocations: 1.29 MB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00096/0.2647, allocations: 0.6465 MB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.2647, allocations: 0 / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.2647, allocations: 4 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.2648, allocations: 15.86 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.2652, allocations: 107.5 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.2653, allocations: 27.84 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.2653, allocations: 0 / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.2653, allocations: 15.98 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.2654, allocations: 7.938 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2654, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.2657, allocations: 147.7 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2657, allocations: 8 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.2657, allocations: 11.92 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2659, allocations: 100.1 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2659, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.266, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.266, allocations: 0 / 1.055 GB, free: 5.887 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.0004311/0.2664, allocations: 357.3 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2664, allocations: 8.031 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.2665, allocations: 38.75 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.2669, allocations: 28.91 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.267, allocations: 164.4 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.267, allocations: 384 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.267, allocations: 8.281 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2672, allocations: 58.16 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2672, allocations: 7.938 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2672, allocations: 4 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.2672, allocations: 0 / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.2674, allocations: 31.97 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.2676, allocations: 161.6 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.2679, allocations: 78.45 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.2679, allocations: 24.94 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.268, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.268, allocations: 34.56 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.268, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003289/0.2713, allocations: 0.5759 MB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.2714, allocations: 55.41 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.2714, allocations: 97.84 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2715, allocations: 25.7 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.2715, allocations: 88.12 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.2715, allocations: 15.72 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.2716, allocations: 29.69 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2717, allocations: 314.8 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2719, allocations: 35.97 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.272, allocations: 40.03 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.2723, allocations: 84.95 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2723, allocations: 0 / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003596/0.2727, allocations: 125.6 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2727, allocations: 4 kB / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.2727, allocations: 0 / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2727, allocations: 3.938 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.2729, allocations: 23.97 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.273, allocations: 0 / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.2731, allocations: 19.92 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.2731, allocations: 7.984 kB / 1.058 GB, free: 3.094 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 8.244e-05/0.2732, allocations: 107.4 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.2733, allocations: 7.938 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.2733, allocations: 11.97 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2733, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2733, allocations: 4 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2733, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2735, allocations: 183.7 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2735, allocations: 4 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.2737, allocations: 23.91 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2737, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.2738, allocations: 7.984 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2738, allocations: 0 / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2738, allocations: 4 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.2743, allocations: 192.9 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.2744, allocations: 89.12 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2744, allocations: 4 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.2746, allocations: 12 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.2746, allocations: 3.984 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2746, allocations: 11.92 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.2747, allocations: 75.28 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2747, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002322/0.2749, allocations: 40.03 kB / 1.058 GB, free: 2.234 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.0008806/0.2758, allocations: 0.7528 MB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.2762, allocations: 83.92 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2762, allocations: 0 / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.2763, allocations: 51.97 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2766, allocations: 7.984 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2786, allocations: 1.345 MB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.2788, allocations: 0.6807 MB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.2791, allocations: 32.34 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/0.2791, allocations: 19.42 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2791, allocations: 0 / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.2978, allocations: 2.471 MB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.51, allocations: 8.094 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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,TMax,TMin,der(T),der(y),der(y_comp),err,time,y,y_comp