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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9478/0.9478, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.346/2.346, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.835e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001661/0.001679, allocations: 1.352 MB / 0.8911 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000661/0.00234, allocations: 0.5607 MB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.002363, allocations: 0 / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.002381, allocations: 4 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.00243, allocations: 11.92 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.002792, allocations: 95.5 kB / 0.8917 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.002844, allocations: 23.81 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.002875, allocations: 4 kB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.002924, allocations: 7.984 kB / 0.8918 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.002964, allocations: 11.98 kB / 0.8918 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.002974, allocations: 0 / 0.8918 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.003176, allocations: 143.7 kB / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.003187, allocations: 0 / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.003201, allocations: 7.984 kB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.003351, allocations: 103.7 kB / 0.892 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003353, allocations: 0 / 0.892 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003354, allocations: 3.938 kB / 0.892 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003357, allocations: 0 / 0.892 GB, free: 7.449 MB / 0.8542 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.0002708/0.003628, allocations: 372.1 kB / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.003663, allocations: 16.02 kB / 0.8924 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.003916, allocations: 36.84 kB / 0.8924 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.004211, allocations: 108.6 kB / 0.8925 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.004221, allocations: 4.375 kB / 0.8925 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.004229, allocations: 384 / 0.8925 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.766e-05/0.004326, allocations: 62.92 kB / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.004332, allocations: 192 / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.004338, allocations: 384 / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.004342, allocations: 384 / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/0.004367, allocations: 15.94 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.004468, allocations: 101.2 kB / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.05e-05/0.004519, allocations: 43.08 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.004537, allocations: 15.75 kB / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.004558, allocations: 0 / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.004577, allocations: 33.39 kB / 0.8928 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.004578, allocations: 0 / 0.8928 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000121/0.004699, allocations: 61.61 kB / 0.8928 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.004722, allocations: 55.41 kB / 0.8929 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.004785, allocations: 165.9 kB / 0.8931 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.004794, allocations: 25.7 kB / 0.8931 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.004825, allocations: 126.9 kB / 0.8932 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.004845, allocations: 3.953 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.004872, allocations: 19.38 kB / 0.8932 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.004972, allocations: 0.4961 MB / 0.8937 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.004987, allocations: 12 kB / 0.8937 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.005, allocations: 12.11 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.005035, allocations: 19.69 kB / 0.8937 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005036, allocations: 0 / 0.8937 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.01e-05/0.005096, allocations: 45.62 kB / 0.8938 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.005106, allocations: 8 kB / 0.8938 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.00511, allocations: 0 / 0.8938 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.005119, allocations: 3.984 kB / 0.8938 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.005179, allocations: 4 kB / 0.8938 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005181, allocations: 4.094 kB / 0.8938 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.005204, allocations: 4 kB / 0.8938 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.005211, allocations: 7.922 kB / 0.8938 GB, free: 5.391 MB / 0.8542 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 5.854e-05/0.005269, allocations: 156.6 kB / 0.894 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/0.005279, allocations: 7.953 kB / 0.894 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.005306, allocations: 3.312 kB / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005307, allocations: 0 / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.005308, allocations: 0 / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005311, allocations: 4 kB / 0.894 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.678e-05/0.005378, allocations: 105.2 kB / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005379, allocations: 0 / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.005404, allocations: 4 kB / 0.8941 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005405, allocations: 4 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.005411, allocations: 3.984 kB / 0.8941 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.005412, allocations: 0 / 0.8941 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005412, allocations: 0 / 0.8941 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.48e-05/0.005497, allocations: 84.31 kB / 0.8942 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.005525, allocations: 19.95 kB / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.005533, allocations: 0 / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.005552, allocations: 0 / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.005561, allocations: 3.984 kB / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.005564, allocations: 4 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.005594, allocations: 119.2 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005594, allocations: 0 / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001309/0.005725, allocations: 12 kB / 0.8943 GB, free: 4.809 MB / 0.8542 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.0001139/0.005839, allocations: 119.1 kB / 0.8944 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.686e-05/0.005906, allocations: 31.61 kB / 0.8945 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005907, allocations: 0 / 0.8945 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.005924, allocations: 19.67 kB / 0.8945 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.006048, allocations: 19.92 kB / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.006447, allocations: 118.5 kB / 0.8946 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.468e-05/0.006472, allocations: 59.34 kB / 0.8947 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.006514, allocations: 8 kB / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.006571, allocations: 74.19 kB / 0.8948 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.006571, allocations: 4 kB / 0.8948 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of Templates: time 0.002325/0.008897, allocations: 0.906 MB / 0.8956 GB, free: 3.406 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.276904653757811]