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.00149/0.00149, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001408/0.001408, allocations: 169 kB / 24.27 MB, free: 280 kB / 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.9921/0.9921, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.725/1.725, allocations: 359 MB / 0.6055 GB, free: 10.98 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 2.094e-06/2.094e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.936e-05, allocations: 10.53 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002612/0.002642, allocations: 1.458 MB / 0.7885 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004978/0.00314, allocations: 229.4 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.00318, allocations: 0 / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.003218, allocations: 3.938 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.003275, allocations: 4.969 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.003555, allocations: 32.64 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.003642, allocations: 23.88 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.003745, allocations: 11.08 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.003799, allocations: 8 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/0.003838, allocations: 11.98 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.003852, allocations: 0 / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.003931, allocations: 31.97 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.003947, allocations: 7.922 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.003967, allocations: 8 kB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.004086, allocations: 35.89 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004089, allocations: 4 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004089, allocations: 1.125 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.004094, allocations: 0 / 0.7889 GB, free: 10.95 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.0003429/0.004437, allocations: 361.2 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.004487, allocations: 12.02 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.004646, allocations: 14.06 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.004728, allocations: 108.6 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.00474, allocations: 8.375 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.004748, allocations: 2.062 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.004859, allocations: 62.88 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004866, allocations: 8.109 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.004876, allocations: 384 / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.004882, allocations: 1.906 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.004913, allocations: 7.938 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.005209, allocations: 255.7 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.85e-05/0.005258, allocations: 32.47 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.005279, allocations: 11.75 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.00529, allocations: 0 / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.005309, allocations: 33.39 kB / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.00531, allocations: 2.219 kB / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.005459, allocations: 49.62 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.005491, allocations: 51.41 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.005568, allocations: 157.9 kB / 0.79 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.005576, allocations: 29.64 kB / 0.79 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.005619, allocations: 135.4 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.005633, allocations: 4.672 kB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.005658, allocations: 19.38 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.005759, allocations: 496.6 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.005772, allocations: 0 / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.005782, allocations: 5.594 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.005809, allocations: 19.67 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.005811, allocations: 0 / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.769e-05/0.005859, allocations: 34.33 kB / 0.7907 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.005873, allocations: 4.812 kB / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.005878, allocations: 3.938 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.005889, allocations: 0.5625 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.005944, allocations: 16.52 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.005948, allocations: 0 / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.005966, allocations: 4.641 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005971, allocations: 4 kB / 0.7908 GB, free: 8.836 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.767e-05/0.006029, allocations: 158 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.006041, allocations: 0 / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.006138, allocations: 58.05 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006139, allocations: 0 / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.006142, allocations: 0 / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006145, allocations: 0.75 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.423e-05/0.00623, allocations: 120.6 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.00623, allocations: 0.5938 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.006253, allocations: 8.844 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.006255, allocations: 0 / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.006262, allocations: 5.906 kB / 0.7911 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.006263, allocations: 3.938 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006264, allocations: 0 / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.162e-05/0.006356, allocations: 187.9 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.006363, allocations: 7.953 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.006374, allocations: 4.281 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.006406, allocations: 12.58 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.006441, allocations: 2.438 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.006443, allocations: 0 / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.006477, allocations: 135.2 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006477, allocations: 0 / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001312/0.006608, allocations: 4 kB / 0.7914 GB, free: 8.078 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 6.741e-05/0.006675, allocations: 95.25 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.00675, allocations: 21.47 kB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006752, allocations: 0 / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.006771, allocations: 19.67 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.006948, allocations: 6.594 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.007381, allocations: 136.4 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.007417, allocations: 59.28 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.007438, allocations: 5.094 kB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.007468, allocations: 8.5 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.007469, allocations: 0.6562 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of Templates: time 0.002069/0.009538, allocations: 0.6434 MB / 0.7924 GB, free: 7.059 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.942511840024963]