Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 103.8 kB / 16.37 MB, free: 6.441 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.001075/0.001075, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.34 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2925, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00277/0.2953, allocations: 1.262 MB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005063/0.2958, allocations: 237.6 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.2959, allocations: 0 / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.2959, allocations: 0 / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.892e-05/0.296, allocations: 7.875 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2963, allocations: 43.83 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.776e-05/0.2964, allocations: 23.91 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.2964, allocations: 4 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.2965, allocations: 7.984 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.2965, allocations: 8 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2966, allocations: 3.938 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.2967, allocations: 43.95 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.2967, allocations: 3.938 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.2967, allocations: 15.97 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2968, allocations: 43.91 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2969, allocations: 0 / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2969, allocations: 0 / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2969, allocations: 0 / 1.028 GB, free: 396 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000412/0.2973, allocations: 331.5 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2973, allocations: 12.03 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.2975, allocations: 8.984 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.931e-05/0.2976, allocations: 160.4 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2976, allocations: 8.375 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.2976, allocations: 4.312 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.2978, allocations: 46.23 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2978, allocations: 192 / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2978, allocations: 3.938 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2978, allocations: 4 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/0.2978, allocations: 15.94 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.298, allocations: 165.7 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/0.2981, allocations: 46.56 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.2982, allocations: 16.98 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.2982, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2982, allocations: 34.56 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2982, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.002094/0.3003, allocations: 0.498 MB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.3004, allocations: 55.41 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.096e-05/0.3004, allocations: 89.86 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3004, allocations: 29.7 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.3005, allocations: 88.05 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.3005, allocations: 27.64 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3006, allocations: 17.72 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3007, allocations: 322.8 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.3008, allocations: 16 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.3008, allocations: 31.92 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.69e-05/0.3009, allocations: 60.8 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3009, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001394/0.3011, allocations: 89.59 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3011, allocations: 11.94 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3011, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3011, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3013, allocations: 19.92 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3013, allocations: 4 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.3013, allocations: 4 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3014, allocations: 0 / 1.031 GB, free: 13.93 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 (9): * Single equations (assignments): 9 * 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.162e-05/0.3015, allocations: 117.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.3015, allocations: 3.938 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.3015, allocations: 15.97 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3015, allocations: 7.984 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3016, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3016, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3017, allocations: 179.4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3017, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.3019, allocations: 12 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3019, allocations: 3.938 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3019, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3019, allocations: 4.656 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3019, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3022, allocations: 145 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.3022, allocations: 88.94 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3022, allocations: 8.031 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3023, allocations: 8 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.3024, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3024, allocations: 7.984 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.3024, allocations: 79.34 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.583e-06/0.3024, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001915/0.3026, allocations: 15.94 kB / 1.031 GB, free: 13.14 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 (8): * Single equations (assignments): 8 * 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.0001114/0.3027, allocations: 107.2 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.3029, allocations: 63.97 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3029, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.409e-05/0.303, allocations: 35.92 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.3032, allocations: 10.34 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.3037, allocations: 170.9 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.304, allocations: 0.6807 MB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.916e-05/0.304, allocations: 11.92 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.3041, allocations: 11.44 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3041, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of Templates: time 0.002901/0.307, allocations: 0.6855 MB / 1.033 GB, free: 11.36 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches