Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamProperties.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.00164/0.00164, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001249/0.001249, allocations: 168.6 kB / 24.87 MB, free: 8.887 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.9955/0.9955, allocations: 177.1 MB / 205.3 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.89/1.89, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0.5469 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.396e-05, allocations: 5.125 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1146/0.1146, allocations: 129.4 MB / 0.9391 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.1334, allocations: 21.97 MB / 0.9606 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1335, allocations: 0 / 0.9606 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.1338, allocations: 47.62 kB / 0.9606 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1341, allocations: 99.3 kB / 0.9607 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01178/0.1459, allocations: 7.008 MB / 0.9676 GB, free: 2.41 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000291/0.1462, allocations: 259.7 kB / 0.9678 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1462, allocations: 17.8 kB / 0.9678 GB, free: 2.141 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.1465, allocations: 179.4 kB / 0.968 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1466, allocations: 79.78 kB / 0.9681 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1466, allocations: 8 kB / 0.9681 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/0.1609, allocations: 11.13 MB / 0.979 GB, free: 6.73 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.161, allocations: 39.84 kB / 0.979 GB, free: 6.691 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.1611, allocations: 59.89 kB / 0.9791 GB, free: 6.633 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.009699/0.1708, allocations: 8.353 MB / 0.9872 GB, free: 14.26 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1708, allocations: 0 / 0.9872 GB, free: 14.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1708, allocations: 3.938 kB / 0.9872 GB, free: 14.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.1708, allocations: 4 kB / 0.9872 GB, free: 14.25 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001986/0.1728, allocations: 1.267 MB / 0.9885 GB, free: 12.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1728, allocations: 15.97 kB / 0.9885 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006283/0.1734, allocations: 152.2 kB / 0.9886 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1736, allocations: 164.4 kB / 0.9888 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1736, allocations: 12.12 kB / 0.9888 GB, free: 12.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1736, allocations: 24.38 kB / 0.9888 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.1743, allocations: 0.5961 MB / 0.9894 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1743, allocations: 4 kB / 0.9894 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1743, allocations: 12 kB / 0.9894 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1743, allocations: 4 kB / 0.9894 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.1749, allocations: 424.7 kB / 0.9898 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.1757, allocations: 0.8559 MB / 0.9906 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.1761, allocations: 246.8 kB / 0.9909 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.1762, allocations: 55.59 kB / 0.9909 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03772/0.2139, allocations: 19.34 MB / 1.01 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2139, allocations: 33.39 kB / 1.01 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.2139, allocations: 4 kB / 1.01 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.001031/0.2149, allocations: 432.9 kB / 1.01 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.215, allocations: 55.41 kB / 1.01 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.215, allocations: 181.8 kB / 1.01 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.2151, allocations: 33.7 kB / 1.011 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.2151, allocations: 159.3 kB / 1.011 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.2152, allocations: 91.2 kB / 1.011 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.2152, allocations: 91.19 kB / 1.011 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2154, allocations: 0.4923 MB / 1.011 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.2154, allocations: 71.92 kB / 1.011 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.2157, allocations: 142 kB / 1.012 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.216, allocations: 236.7 kB / 1.012 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.216, allocations: 0 / 1.012 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004983/0.2165, allocations: 316.9 kB / 1.012 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2165, allocations: 8 kB / 1.012 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2165, allocations: 0 / 1.012 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.2165, allocations: 7.938 kB / 1.012 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.2166, allocations: 84.09 kB / 1.012 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2167, allocations: 7.938 kB / 1.012 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.2167, allocations: 15.88 kB / 1.012 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.2167, allocations: 23.98 kB / 1.012 GB, free: 4.289 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 8.943e-05/0.2168, allocations: 164.6 kB / 1.012 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.217, allocations: 51.53 kB / 1.012 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.218, allocations: 1.368 MB / 1.014 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.218, allocations: 15.98 kB / 1.014 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.218, allocations: 4 kB / 1.014 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.218, allocations: 3.984 kB / 1.014 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.2197, allocations: 1.971 MB / 1.016 GB, free: 0.6055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2197, allocations: 4 kB / 1.016 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.2198, allocations: 55.89 kB / 1.016 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2198, allocations: 4 kB / 1.016 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2199, allocations: 7.984 kB / 1.016 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2199, allocations: 4 kB / 1.016 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2199, allocations: 0 / 1.016 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.2204, allocations: 0.4927 MB / 1.016 GB, free: 20 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2205, allocations: 63.75 kB / 1.016 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.2205, allocations: 8 kB / 1.016 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2207, allocations: 8 kB / 1.016 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2207, allocations: 19.97 kB / 1.016 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.2207, allocations: 15.98 kB / 1.016 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.2208, allocations: 135.2 kB / 1.016 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2208, allocations: 0 / 1.016 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003681/0.2245, allocations: 1.719 MB / 1.018 GB, free: 14.05 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005823/0.2303, allocations: 2.255 MB / 1.02 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.2306, allocations: 236.7 kB / 1.021 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2307, allocations: 3.984 kB / 1.021 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.2308, allocations: 150.4 kB / 1.021 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.2313, allocations: 95.95 kB / 1.021 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.2322, allocations: 0.5519 MB / 1.021 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.2323, allocations: 94.83 kB / 1.021 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004367/0.2327, allocations: 404.7 kB / 1.022 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.233, allocations: 190.1 kB / 1.022 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of SimCode: time 4.31e-07/0.233, allocations: 0 / 1.022 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of Templates: time 0.431/0.664, allocations: 70.38 MB / 1.091 GB, free: 123.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.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: 10.172981414012611]