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.001074/0.001074, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001036/0.001036, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9608/0.9608, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.859/1.859, allocations: 359 MB / 0.6052 GB, free: 10.99 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.343e-06/1.343e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.631e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001489/0.001505, allocations: 1.343 MB / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006737/0.002179, allocations: 0.565 MB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.002196, allocations: 0 / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.002217, allocations: 3.938 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.00226, allocations: 12.61 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.002567, allocations: 96.34 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.747e-05/0.002615, allocations: 24.52 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.002647, allocations: 4 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.002691, allocations: 11.44 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.002731, allocations: 7.984 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.002744, allocations: 0 / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.002937, allocations: 135.7 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.00295, allocations: 3.938 kB / 0.7892 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.002967, allocations: 8 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.003122, allocations: 103.7 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003124, allocations: 0 / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003124, allocations: 0 / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.003128, allocations: 0.7188 kB / 0.7894 GB, free: 10.13 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.0002882/0.003416, allocations: 372.5 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.003449, allocations: 9.688 kB / 0.7897 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.003724, allocations: 38.14 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.339e-05/0.003798, allocations: 120.5 kB / 0.7899 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.003808, allocations: 384 / 0.7899 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.00382, allocations: 8.375 kB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.003941, allocations: 56.53 kB / 0.7899 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.003952, allocations: 4.172 kB / 0.7899 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.003964, allocations: 4.375 kB / 0.7899 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.003971, allocations: 1.344 kB / 0.7899 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.004014, allocations: 21.55 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.004137, allocations: 116.6 kB / 0.7901 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.442e-05/0.004202, allocations: 47.02 kB / 0.7901 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.004231, allocations: 16.31 kB / 0.7901 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.004253, allocations: 0.6875 kB / 0.7901 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.004273, allocations: 33.39 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.004274, allocations: 0.5 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001613/0.004435, allocations: 63.36 kB / 0.7902 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.004464, allocations: 55.41 kB / 0.7903 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.853e-05/0.004532, allocations: 157.9 kB / 0.7904 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.004544, allocations: 26.23 kB / 0.7905 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.004579, allocations: 132.2 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.004611, allocations: 11.94 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.00464, allocations: 19.38 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.00476, allocations: 492.1 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.004782, allocations: 9.172 kB / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.0048, allocations: 12 kB / 0.7911 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.004854, allocations: 21.05 kB / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004856, allocations: 0 / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.737e-05/0.004933, allocations: 54.55 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.004944, allocations: 4 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004948, allocations: 5.031 kB / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.004961, allocations: 0 / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.00503, allocations: 12.73 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.005035, allocations: 0 / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.005058, allocations: 4.875 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.005065, allocations: 4 kB / 0.7912 GB, free: 8.047 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.957e-05/0.005124, allocations: 161.8 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.005132, allocations: 3.938 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.005161, allocations: 8.156 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005163, allocations: 2.219 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.005166, allocations: 0 / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.005169, allocations: 3.938 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.335e-05/0.005233, allocations: 116.6 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.005233, allocations: 0 / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.005259, allocations: 4 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.00526, allocations: 3 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.005269, allocations: 7.984 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005269, allocations: 0 / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.00527, allocations: 0 / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.197e-05/0.005352, allocations: 88.31 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.005384, allocations: 15.92 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.005394, allocations: 0 / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/0.005414, allocations: 5.375 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.005427, allocations: 4 kB / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.00543, allocations: 3.984 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001126/0.005543, allocations: 119.8 kB / 0.7917 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005543, allocations: 4 kB / 0.7917 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000133/0.005676, allocations: 12.44 kB / 0.7917 GB, free: 7.434 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 0.0001121/0.005788, allocations: 116.9 kB / 0.7919 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.328e-05/0.005871, allocations: 32.77 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.005873, allocations: 0 / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.005893, allocations: 24.27 kB / 0.7919 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.006027, allocations: 13.38 kB / 0.7919 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.006504, allocations: 122 kB / 0.792 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.006532, allocations: 55.34 kB / 0.7921 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.95e-05/0.006572, allocations: 7.062 kB / 0.7921 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.006597, allocations: 8.5 kB / 0.7921 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.006598, allocations: 1.125 kB / 0.7921 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.002254/0.008852, allocations: 0.8112 MB / 0.7929 GB, free: 6.219 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: 5.03954043937847]