Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_10_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.001305/0.001305, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001472/0.001472, allocations: 195 kB / 16.26 MB, free: 6.621 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.493/2.493, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6799, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002379/0.6823, allocations: 1.354 MB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.6833, allocations: 0.6241 MB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.6833, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.6834, allocations: 3.938 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.493e-05/0.6834, allocations: 11.91 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.6839, allocations: 95.64 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.6839, allocations: 27.86 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.684, allocations: 7.984 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.684, allocations: 4 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.6841, allocations: 19.92 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.6841, allocations: 4 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.6843, allocations: 147.7 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.6843, allocations: 4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.6844, allocations: 19.92 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.6846, allocations: 94.06 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.6846, allocations: 4 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6846, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6846, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 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.0004538/0.6851, allocations: 359.4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.6851, allocations: 11.97 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.6851, allocations: 30.75 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.6856, allocations: 24.91 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.6857, allocations: 172.3 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.6857, allocations: 4.359 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.6857, allocations: 8.375 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.6859, allocations: 58.16 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6859, allocations: 3.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.686, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.686, allocations: 4 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.6861, allocations: 23.97 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.6863, allocations: 165.6 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.6866, allocations: 66.58 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.6867, allocations: 28.94 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.6867, allocations: 3.984 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.6867, allocations: 38.5 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.6867, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.00361/0.6904, allocations: 0.5642 MB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.6904, allocations: 55.41 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.6905, allocations: 101.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.6905, allocations: 25.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.6906, allocations: 84.12 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.6906, allocations: 19.75 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.6907, allocations: 25.69 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6908, allocations: 314.8 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.691, allocations: 36.09 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.6911, allocations: 39.97 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.6914, allocations: 92.89 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6914, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003585/0.6918, allocations: 125.5 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6918, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.6918, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6918, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.6921, allocations: 27.97 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6921, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.6923, allocations: 11.92 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.6923, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 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 9.392e-05/0.6924, allocations: 118.3 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.6924, allocations: 7.938 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.138e-05/0.6925, allocations: 15.91 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6925, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.6925, allocations: 336 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6925, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.6927, allocations: 199.5 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6927, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.6929, allocations: 27.91 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.693, allocations: 7.984 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.693, allocations: 3.984 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.693, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.693, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.6935, allocations: 192.9 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.6936, allocations: 81.05 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.6936, allocations: 3.984 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6938, allocations: 11.97 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.6939, allocations: 7.984 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.6939, allocations: 4 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.6939, allocations: 83.34 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6939, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002433/0.6942, allocations: 31.98 kB / 1.022 GB, free: 12.58 MB / 0.7794 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.0009535/0.6951, allocations: 0.7493 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.6955, allocations: 95.94 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6955, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.6957, allocations: 43.95 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.696, allocations: 22.25 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.6979, allocations: 1.349 MB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.6981, allocations: 0.6807 MB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.6984, allocations: 28.03 kB / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.6985, allocations: 21.91 kB / 1.025 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6985, allocations: 0 / 1.025 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.7123, allocations: 2.373 MB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.7125, allocations: 263.3 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.46, allocations: 3.188 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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