Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001611, allocations: 102 kB / 16.35 MB, free: 5.828 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.001762/0.001762, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 442.5 MB / 0.7165 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 61.19 kB / 0.8773 GB, free: 42.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 153 MB / 1.027 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00227/0.2882, allocations: 1.285 MB / 1.028 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008832/0.2891, allocations: 0.5697 MB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.2891, allocations: 0 / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.2891, allocations: 0 / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.2892, allocations: 7.922 kB / 1.029 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.2896, allocations: 99.5 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.2896, allocations: 23.86 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.2897, allocations: 4 kB / 1.029 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.2897, allocations: 7.938 kB / 1.029 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.2898, allocations: 4 kB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2898, allocations: 0 / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.2901, allocations: 151.7 kB / 1.029 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.2901, allocations: 0 / 1.029 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.2901, allocations: 7.938 kB / 1.029 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2903, allocations: 91.83 kB / 1.029 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2903, allocations: 0 / 1.029 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2903, allocations: 0 / 1.029 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2904, allocations: 0 / 1.029 GB, free: 5.199 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003668/0.2907, allocations: 357.4 kB / 1.029 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2908, allocations: 8.031 kB / 1.029 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004336/0.2912, allocations: 28.91 kB / 1.029 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2913, allocations: 164.4 kB / 1.029 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.2913, allocations: 384 / 1.029 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2914, allocations: 4.375 kB / 1.029 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.2915, allocations: 54.17 kB / 1.029 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2915, allocations: 192 / 1.029 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2916, allocations: 7.922 kB / 1.03 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2916, allocations: 0 / 1.03 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.2917, allocations: 19.98 kB / 1.03 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.2919, allocations: 165.5 kB / 1.03 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.292, allocations: 42.55 kB / 1.03 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.2921, allocations: 20.91 kB / 1.03 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2921, allocations: 3.984 kB / 1.03 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2922, allocations: 34.5 kB / 1.03 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2922, allocations: 4 kB / 1.03 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000303/0.2925, allocations: 73.59 kB / 1.03 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.2925, allocations: 51.41 kB / 1.03 GB, free: 4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.2926, allocations: 97.86 kB / 1.03 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2926, allocations: 25.7 kB / 1.03 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.2927, allocations: 88.12 kB / 1.03 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.2927, allocations: 11.97 kB / 1.03 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.2927, allocations: 13.72 kB / 1.03 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2928, allocations: 318.8 kB / 1.03 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.2929, allocations: 4 kB / 1.03 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.515e-05/0.293, allocations: 15.98 kB / 1.03 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.2931, allocations: 32.84 kB / 1.03 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2931, allocations: 3.938 kB / 1.03 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001648/0.2933, allocations: 69.59 kB / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2933, allocations: 5.562 kB / 1.031 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2933, allocations: 3.938 kB / 1.031 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2933, allocations: 0 / 1.031 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2934, allocations: 16.02 kB / 1.031 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.2935, allocations: 0 / 1.031 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.2935, allocations: 0 / 1.031 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2935, allocations: 4 kB / 1.031 GB, free: 3.262 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 (2): * Single equations (assignments): 2 * 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.407e-05/0.2936, allocations: 109.8 kB / 1.031 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.2936, allocations: 0 / 1.031 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.2937, allocations: 15.05 kB / 1.031 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2937, allocations: 8 kB / 1.031 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2937, allocations: 0 / 1.031 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2937, allocations: 3.938 kB / 1.031 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.2938, allocations: 157.6 kB / 1.031 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2938, allocations: 0 / 1.031 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.843e-05/0.2939, allocations: 7.984 kB / 1.031 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2939, allocations: 0 / 1.031 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.294, allocations: 7.938 kB / 1.031 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.294, allocations: 0 / 1.031 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.294, allocations: 4 kB / 1.031 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.2942, allocations: 85.09 kB / 1.031 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.2942, allocations: 85.02 kB / 1.031 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2943, allocations: 3.938 kB / 1.031 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.2943, allocations: 3.984 kB / 1.031 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.2944, allocations: 4 kB / 1.031 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.2944, allocations: 4.031 kB / 1.031 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.2944, allocations: 79.28 kB / 1.031 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2944, allocations: 0 / 1.031 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002214/0.2946, allocations: 12 kB / 1.031 GB, free: 2.582 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001596/0.2948, allocations: 119.2 kB / 1.031 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.295, allocations: 27.97 kB / 1.031 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.295, allocations: 4 kB / 1.031 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.2951, allocations: 11.98 kB / 1.031 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.2953, allocations: 15.92 kB / 1.031 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.2956, allocations: 110.7 kB / 1.031 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.2958, allocations: 0.6846 MB / 1.032 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.071e-05/0.2959, allocations: 8 kB / 1.032 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.2959, allocations: 11.42 kB / 1.032 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.2959, allocations: 0 / 1.032 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of Templates: time 0.002796/0.2987, allocations: 0.7312 MB / 1.033 GB, free: 0.8125 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches