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.001658/0.001659, allocations: 100.1 kB / 15.88 MB, free: 12 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.001905/0.001905, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 65.36 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2881, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002698/0.2908, allocations: 1.35 MB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.2918, allocations: 0.5803 MB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.2919, allocations: 4 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.2919, allocations: 7.984 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.292, allocations: 7.922 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2924, allocations: 75.7 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.2925, allocations: 23.81 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.2925, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.2925, allocations: 4 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.2926, allocations: 7.984 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.2926, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.2929, allocations: 159.7 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.2929, allocations: 3.938 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.2929, allocations: 4 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.2931, allocations: 60.16 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2931, allocations: 4 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2931, allocations: 0 / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.2931, allocations: 0 / 1.055 GB, free: 6.035 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000383/0.2935, allocations: 351.4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2936, allocations: 8.031 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/0.294, allocations: 28.91 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.2942, allocations: 168.3 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2942, allocations: 384 / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.2942, allocations: 384 / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2944, allocations: 50.22 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2944, allocations: 4.188 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2944, allocations: 3.938 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.2944, allocations: 3.984 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.2946, allocations: 23.97 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.2948, allocations: 161.4 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.2949, allocations: 54.52 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.295, allocations: 16.92 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.295, allocations: 0 / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2951, allocations: 38.48 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2951, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003249/0.2954, allocations: 73.61 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2955, allocations: 55.39 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.2955, allocations: 101.8 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2956, allocations: 25.7 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.2956, allocations: 84.12 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.2956, allocations: 3.906 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.2957, allocations: 21.7 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2958, allocations: 315 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.2959, allocations: 15.98 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.296, allocations: 11.98 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.2961, allocations: 28.84 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2961, allocations: 4.062 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001721/0.2963, allocations: 53.67 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2963, allocations: 8 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2963, allocations: 7.875 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2963, allocations: 0 / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2965, allocations: 11.92 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2965, allocations: 0 / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.2965, allocations: 8.031 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2966, allocations: 3.984 kB / 1.057 GB, free: 4.098 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 (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.632e-05/0.2966, allocations: 109.8 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.2967, allocations: 8 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.2967, allocations: 7.062 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2967, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2967, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2967, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.2969, allocations: 157.7 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2969, allocations: 7.984 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.2969, allocations: 4 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.297, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.297, allocations: 7.922 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.297, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.297, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.2972, allocations: 89.05 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.2973, allocations: 85 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.2973, allocations: 7.938 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.2974, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.2974, allocations: 3.938 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.2974, allocations: 7.984 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.2975, allocations: 79.28 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2975, allocations: 4.031 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002235/0.2977, allocations: 16 kB / 1.057 GB, free: 3.422 MB / 0.8106 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.0001744/0.2979, allocations: 107.2 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.2981, allocations: 27.97 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2981, allocations: 0 / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.2981, allocations: 23.98 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2984, allocations: 4.75 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.2988, allocations: 142.1 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.2991, allocations: 0.677 MB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.2991, allocations: 11.5 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.2991, allocations: 4 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of Templates: time 0.002325/0.3015, allocations: 0.7775 MB / 1.059 GB, free: 1.586 MB / 0.8106 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 -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