Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009848/0.0009848, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001046/0.001046, allocations: 168.6 kB / 24.87 MB, free: 9.227 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.821/1.821, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.697e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00155/0.001567, allocations: 1.342 MB / 0.7896 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.002251, allocations: 0.5675 MB / 0.7902 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.002271, allocations: 0.8438 kB / 0.7902 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.002291, allocations: 7.922 kB / 0.7902 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.002332, allocations: 4.875 kB / 0.7902 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.002637, allocations: 104.1 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.002689, allocations: 23.31 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.085e-05/0.002719, allocations: 0 / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.002764, allocations: 7.984 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.002804, allocations: 8 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.002815, allocations: 0 / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.003007, allocations: 139.7 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.003021, allocations: 7.984 kB / 0.7905 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.003034, allocations: 4 kB / 0.7905 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.003181, allocations: 103.7 kB / 0.7906 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.003182, allocations: 4 kB / 0.7906 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003183, allocations: 0.6875 kB / 0.7906 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.003187, allocations: 0 / 0.7906 GB, free: 9.941 MB / 0.7448 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.0002693/0.003456, allocations: 369 kB / 0.7909 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.003489, allocations: 13.62 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.003748, allocations: 37.47 kB / 0.791 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.00382, allocations: 116.6 kB / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.003828, allocations: 1.625 kB / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.003835, allocations: 384 / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.003939, allocations: 64.45 kB / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-06/0.003944, allocations: 192 / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.003951, allocations: 384 / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.003955, allocations: 384 / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.83e-05/0.003983, allocations: 17.52 kB / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.004083, allocations: 105.2 kB / 0.7913 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/0.004136, allocations: 43.64 kB / 0.7913 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.004155, allocations: 17.72 kB / 0.7913 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.004165, allocations: 0 / 0.7913 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.004183, allocations: 33.39 kB / 0.7913 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.004184, allocations: 0 / 0.7913 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001194/0.004303, allocations: 54.2 kB / 0.7914 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.00433, allocations: 56.12 kB / 0.7915 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.00439, allocations: 157.9 kB / 0.7916 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.0044, allocations: 26.95 kB / 0.7916 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.004432, allocations: 134.8 kB / 0.7918 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.004454, allocations: 7.953 kB / 0.7918 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.004481, allocations: 16 kB / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.004589, allocations: 0.4922 MB / 0.7923 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.004603, allocations: 5.125 kB / 0.7923 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.004616, allocations: 4 kB / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.004654, allocations: 25.14 kB / 0.7923 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.004655, allocations: 0 / 0.7923 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.251e-05/0.004718, allocations: 50.89 kB / 0.7923 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.004727, allocations: 4 kB / 0.7923 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.004731, allocations: 0.5 kB / 0.7923 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.281e-06/0.004738, allocations: 0 / 0.7923 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.004798, allocations: 13.05 kB / 0.7924 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.004801, allocations: 0 / 0.7924 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.004823, allocations: 4.906 kB / 0.7924 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.004829, allocations: 3.938 kB / 0.7924 GB, free: 7.91 MB / 0.7448 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.916e-05/0.004888, allocations: 165.4 kB / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.004895, allocations: 0 / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.004918, allocations: 5.531 kB / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.004919, allocations: 0 / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.004922, allocations: 8 kB / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.004925, allocations: 0 / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.419e-05/0.004989, allocations: 112 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004989, allocations: 0 / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.005014, allocations: 4 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.005015, allocations: 3.938 kB / 0.7927 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.00502, allocations: 3.984 kB / 0.7927 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.005021, allocations: 0 / 0.7927 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005021, allocations: 0 / 0.7927 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.741e-05/0.005099, allocations: 85.78 kB / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.005127, allocations: 15.92 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.005135, allocations: 0 / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.005156, allocations: 0.5 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-06/0.005164, allocations: 4.562 kB / 0.7928 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.005169, allocations: 3.984 kB / 0.7928 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.005199, allocations: 124.8 kB / 0.7929 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005199, allocations: 0 / 0.7929 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001312/0.00533, allocations: 8 kB / 0.7929 GB, free: 7.324 MB / 0.7448 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 9.666e-05/0.005427, allocations: 112.3 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.74e-05/0.005494, allocations: 24.33 kB / 0.793 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.005495, allocations: 0.9688 kB / 0.793 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.005513, allocations: 24.55 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.005637, allocations: 23.81 kB / 0.7931 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.006009, allocations: 120.7 kB / 0.7932 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.576e-05/0.006034, allocations: 55.34 kB / 0.7932 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.257e-05/0.006077, allocations: 13.11 kB / 0.7932 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.006132, allocations: 78.72 kB / 0.7933 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.006133, allocations: 384 / 0.7933 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.00217/0.008303, allocations: 0.9158 MB / 0.7942 GB, free: 5.93 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.909332102164626]