Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.0009549/0.0009549, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0008936/0.0008936, allocations: 161 kB / 23.82 MB, free: 0.75 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.9083/0.9083, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.703/1.703, allocations: 359 MB / 0.6052 GB, free: 11 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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.125e-05, allocations: 6.062 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00166/0.001681, allocations: 1.464 MB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003501/0.002031, allocations: 224.7 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.002055, allocations: 0.5625 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.002082, allocations: 1.25 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.002127, allocations: 11.86 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.002317, allocations: 27.91 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.002379, allocations: 29.48 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.271e-05/0.002451, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.002494, allocations: 11.98 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.157e-05/0.002526, allocations: 11.98 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.00254, allocations: 5.219 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.002613, allocations: 27.97 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.002626, allocations: 3.938 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.002643, allocations: 8.625 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.002752, allocations: 47.81 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002754, allocations: 1.406 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002755, allocations: 0 / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002758, allocations: 0 / 0.7889 GB, free: 10.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002965/0.003055, allocations: 361.4 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.00309, allocations: 12.03 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.003231, allocations: 13.42 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.016e-05/0.003301, allocations: 112.6 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.003311, allocations: 1.062 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-06/0.003318, allocations: 384 / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.003414, allocations: 59.8 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.003419, allocations: 192 / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.003427, allocations: 1.031 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.003434, allocations: 4.375 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.003461, allocations: 13.52 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.003719, allocations: 255.7 kB / 0.7897 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.003764, allocations: 27.06 kB / 0.7897 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.003784, allocations: 13.31 kB / 0.7897 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.003794, allocations: 0 / 0.7897 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.003814, allocations: 45.38 kB / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.003815, allocations: 0 / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001231/0.003938, allocations: 42.2 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.003961, allocations: 54.84 kB / 0.7899 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.004023, allocations: 161.9 kB / 0.79 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.004031, allocations: 29.7 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.00407, allocations: 126.9 kB / 0.7902 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.004085, allocations: 3.953 kB / 0.7902 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.004109, allocations: 23.38 kB / 0.7902 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.004208, allocations: 496.1 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.004221, allocations: 4 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-06/0.004229, allocations: 4 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.004254, allocations: 20.34 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004256, allocations: 0.5312 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.019e-05/0.004306, allocations: 39.06 kB / 0.7907 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004317, allocations: 8 kB / 0.7907 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.004322, allocations: 3.938 kB / 0.7908 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.004332, allocations: 1.219 kB / 0.7908 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.004384, allocations: 4 kB / 0.7908 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.004389, allocations: 0 / 0.7908 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.004408, allocations: 12.59 kB / 0.7908 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004412, allocations: 0 / 0.7908 GB, free: 8.527 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.313e-05/0.004465, allocations: 157.3 kB / 0.7909 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.004482, allocations: 5.188 kB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.004566, allocations: 52.88 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.004567, allocations: 0.75 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.00457, allocations: 0 / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004572, allocations: 5.281 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.354e-05/0.004656, allocations: 120.6 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004657, allocations: 0 / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.004682, allocations: 7.984 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004684, allocations: 0.5625 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.004689, allocations: 0.5625 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.004692, allocations: 7.938 kB / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.004692, allocations: 1.125 kB / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.135e-05/0.004774, allocations: 191.9 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.00478, allocations: 3.953 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.004788, allocations: 0.8125 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.149e-05/0.004819, allocations: 7.938 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.004851, allocations: 5.234 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.004853, allocations: 4 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.004883, allocations: 123.2 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004883, allocations: 1.344 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001319/0.005015, allocations: 8 kB / 0.7914 GB, free: 7.773 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 (3): * Single equations (assignments): 3 * 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 5.941e-05/0.005075, allocations: 95.78 kB / 0.7915 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.7e-05/0.005142, allocations: 16.2 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005143, allocations: 0 / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.005163, allocations: 24.92 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.005327, allocations: 12.8 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.005701, allocations: 127 kB / 0.7917 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.296e-05/0.005734, allocations: 56.3 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.005753, allocations: 1.219 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.005779, allocations: 13.45 kB / 0.7918 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of SimCode: time 6.12e-07/0.005779, allocations: 0 / 0.7918 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.002013/0.007792, allocations: 0.6849 MB / 0.7924 GB, free: 6.723 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.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.766228285152465]