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.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: 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.001394/0.001394, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0129/0.0129, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.853/2.853, allocations: 462.6 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003911, allocations: 10.02 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3879, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001464/0.3894, allocations: 1.021 MB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009991/0.3904, allocations: 0.5766 MB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.3905, allocations: 0 / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.3905, allocations: 0 / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.3905, allocations: 15.91 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.3909, allocations: 67.72 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.391, allocations: 31.8 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.391, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.3911, allocations: 4 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.3911, allocations: 8 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3911, allocations: 0 / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.3914, allocations: 151.7 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.3914, allocations: 3.938 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.3915, allocations: 37.62 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.3917, allocations: 96 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3917, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3917, allocations: 4 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3917, allocations: 0 / 1.061 GB, free: 3.48 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.0004038/0.3921, allocations: 347.5 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3922, allocations: 8.031 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.3926, allocations: 28.89 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3927, allocations: 160.4 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3928, allocations: 384 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3928, allocations: 4.375 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3929, allocations: 54.22 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.393, allocations: 192 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.393, allocations: 3.938 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.393, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3931, allocations: 23.92 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.3933, allocations: 165.5 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.3935, allocations: 42.58 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.3935, allocations: 20.91 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3936, allocations: 0 / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.3936, allocations: 34.56 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.3936, allocations: 0 / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003177/0.3939, allocations: 85.38 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.394, allocations: 55.41 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.3941, allocations: 97.86 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3941, allocations: 29.69 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.3941, allocations: 80.14 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.3941, allocations: 3.906 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.3942, allocations: 13.84 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3943, allocations: 314.8 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.3944, allocations: 11.98 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.3944, allocations: 15.98 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3946, allocations: 28.91 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3946, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/0.3947, allocations: 61.61 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3948, allocations: 9.875 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3948, allocations: 3.938 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3948, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.3949, allocations: 7.984 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3949, allocations: 0 / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.395, allocations: 8.031 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.395, allocations: 3.984 kB / 1.062 GB, free: 1.566 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.7e-05/0.3951, allocations: 113.7 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.3951, allocations: 4 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.3951, allocations: 7.062 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3951, allocations: 192 / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3952, allocations: 4 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3952, allocations: 3.984 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.3953, allocations: 153.7 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.3953, allocations: 4 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.3954, allocations: 7.984 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3954, allocations: 0 / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3954, allocations: 11.92 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3954, allocations: 0 / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3954, allocations: 0 / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.3956, allocations: 89.05 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.3957, allocations: 89 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3957, allocations: 11.88 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.3958, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.3958, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.3958, allocations: 7.984 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.3958, allocations: 79.31 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3958, allocations: 0 / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001999/0.396, allocations: 16 kB / 1.063 GB, free: 0.8828 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.0001927/0.3962, allocations: 107.2 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.3964, allocations: 35.91 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3964, allocations: 4.062 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.3965, allocations: 11.98 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3967, allocations: 13.67 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.3971, allocations: 120.6 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3974, allocations: 0.681 MB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.024e-05/0.3975, allocations: 11.94 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.3975, allocations: 7.438 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3975, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.00303/0.4005, allocations: 0.7128 MB / 1.065 GB, free: 15.13 MB / 0.8262 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/jenkins/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