Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.0009726/0.0009726, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009763/0.0009763, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.8939/0.8939, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.664/1.664, allocations: 359 MB / 0.6052 GB, free: 11.01 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.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.394e-05, allocations: 5.594 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002053/0.002077, allocations: 1.721 MB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005684/0.002645, allocations: 404.6 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.002713, allocations: 9.344 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.002815, allocations: 11.86 kB / 0.7892 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.002862, allocations: 24.84 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.003217, allocations: 109.1 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003353, allocations: 115.5 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.003463, allocations: 28.45 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/0.00354, allocations: 59.88 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.003594, allocations: 32.98 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.003613, allocations: 8 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.00371, allocations: 55.95 kB / 0.7896 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.003734, allocations: 25.78 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.003766, allocations: 27.97 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.003948, allocations: 127.5 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.00395, allocations: 0 / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003951, allocations: 0 / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.003957, allocations: 4.719 kB / 0.7897 GB, free: 9.797 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004305/0.004388, allocations: 437.7 kB / 0.7902 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.004427, allocations: 12.03 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.004631, allocations: 42.47 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.004801, allocations: 144.4 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.004862, allocations: 59.97 kB / 0.7904 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.004877, allocations: 4.375 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.005055, allocations: 127.1 kB / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005063, allocations: 192 / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.005075, allocations: 384 / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.005084, allocations: 8.125 kB / 0.7905 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.005168, allocations: 43.91 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.005608, allocations: 357.7 kB / 0.7909 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.005877, allocations: 103 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.005915, allocations: 33.03 kB / 0.7911 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.005924, allocations: 0 / 0.7911 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.005948, allocations: 45.39 kB / 0.7911 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.005949, allocations: 0 / 0.7911 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001751/0.006124, allocations: 83.52 kB / 0.7912 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.006148, allocations: 51.41 kB / 0.7912 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.006233, allocations: 181.9 kB / 0.7914 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006247, allocations: 25.7 kB / 0.7914 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.006551, allocations: 150.8 kB / 0.7916 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.006568, allocations: 20.39 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.006602, allocations: 28.31 kB / 0.7916 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.006706, allocations: 0.4883 MB / 0.7921 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.006731, allocations: 15.98 kB / 0.7921 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.006766, allocations: 29.31 kB / 0.7921 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.538e-05/0.006831, allocations: 55.3 kB / 0.7922 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006833, allocations: 0 / 0.7922 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001033/0.006936, allocations: 81.61 kB / 0.7923 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.006951, allocations: 6.125 kB / 0.7923 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006956, allocations: 0 / 0.7923 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.006971, allocations: 4 kB / 0.7923 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.007026, allocations: 15.94 kB / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.007032, allocations: 0 / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.007064, allocations: 12.45 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.00707, allocations: 0.7188 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 7.178e-05/0.007142, allocations: 164.5 kB / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.007166, allocations: 8.484 kB / 0.7925 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.007191, allocations: 14 kB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007194, allocations: 4 kB / 0.7925 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.007198, allocations: 0 / 0.7925 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007201, allocations: 0 / 0.7925 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.00732, allocations: 149 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007322, allocations: 0 / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.007358, allocations: 13.3 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00736, allocations: 4 kB / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.007367, allocations: 0 / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.007368, allocations: 9.031 kB / 0.7927 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.007369, allocations: 0 / 0.7927 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.007509, allocations: 224.4 kB / 0.7929 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.007517, allocations: 4.859 kB / 0.7929 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007529, allocations: 8 kB / 0.7929 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.725e-05/0.007587, allocations: 8.828 kB / 0.7929 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.007621, allocations: 3.984 kB / 0.7929 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.007629, allocations: 4 kB / 0.7929 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.00767, allocations: 138.6 kB / 0.793 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00767, allocations: 0 / 0.793 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001559/0.007826, allocations: 23.95 kB / 0.7931 GB, free: 6.133 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 (7): * Single equations (assignments): 7 * 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 8.379e-05/0.00791, allocations: 100.4 kB / 0.7931 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.00802, allocations: 43.67 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008022, allocations: 1.719 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.107e-05/0.008053, allocations: 31.61 kB / 0.7932 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.008295, allocations: 47 kB / 0.7933 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.008818, allocations: 209.8 kB / 0.7935 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.008856, allocations: 63.34 kB / 0.7935 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.41e-05/0.0089, allocations: 5.844 kB / 0.7935 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.008933, allocations: 12.5 kB / 0.7935 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.008933, allocations: 0.7188 kB / 0.7935 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.003061/0.01199, allocations: 1.469 MB / 0.795 GB, free: 4.152 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.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.677295092027634]