Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001521/0.001521, 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.001527/0.001527, 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.9902/0.9902, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.802/1.802, 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.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_11_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_11_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.337e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1167/0.1168, allocations: 131.9 MB / 0.9159 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01987/0.1366, allocations: 22.31 MB / 0.9377 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.1368, allocations: 0 / 0.9377 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.1371, allocations: 43.67 kB / 0.9377 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1374, allocations: 103.3 kB / 0.9378 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.01358/0.151, allocations: 7.007 MB / 0.9446 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.1513, allocations: 263.7 kB / 0.9449 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.1514, allocations: 9.797 kB / 0.9449 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.1517, allocations: 183.4 kB / 0.9451 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1518, allocations: 75.83 kB / 0.9452 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.1519, allocations: 11.94 kB / 0.9452 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/0.1669, allocations: 11.13 MB / 0.956 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.167, allocations: 47.83 kB / 0.9561 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1671, allocations: 59.89 kB / 0.9561 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.1827, allocations: 8.357 MB / 0.9643 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.1827, allocations: 0 / 0.9643 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1827, allocations: 0 / 0.9643 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.1827, allocations: 4 kB / 0.9643 GB, free: 6.469 MB / 0.9167 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.003203/0.1859, allocations: 1.267 MB / 0.9655 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.186, allocations: 8.031 kB / 0.9655 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000957/0.1869, allocations: 148.3 kB / 0.9657 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1872, allocations: 172.4 kB / 0.9659 GB, free: 4.812 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1872, allocations: 12.38 kB / 0.9659 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1872, allocations: 20.31 kB / 0.9659 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009837/0.1882, allocations: 0.6389 MB / 0.9665 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1882, allocations: 0 / 0.9665 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.1882, allocations: 8 kB / 0.9665 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1883, allocations: 4 kB / 0.9665 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008485/0.1891, allocations: 489.5 kB / 0.967 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008987/0.19, allocations: 0.8826 MB / 0.9678 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.1906, allocations: 266.7 kB / 0.9681 GB, free: 2.371 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.1907, allocations: 59.66 kB / 0.9682 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05408/0.2448, allocations: 23.54 MB / 0.9911 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.2448, allocations: 45.38 kB / 0.9912 GB, free: 10.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.2448, allocations: 0 / 0.9912 GB, free: 10.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001118/0.2459, allocations: 463.3 kB / 0.9916 GB, free: 10.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.246, allocations: 59.34 kB / 0.9917 GB, free: 10.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2461, allocations: 185.9 kB / 0.9919 GB, free: 9.941 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.2461, allocations: 33.7 kB / 0.9919 GB, free: 9.902 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.2462, allocations: 159.3 kB / 0.992 GB, free: 9.742 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.2464, allocations: 91.2 kB / 0.9921 GB, free: 9.652 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.2465, allocations: 87.28 kB / 0.9922 GB, free: 9.559 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2466, allocations: 0.4923 MB / 0.9927 GB, free: 9.055 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2467, allocations: 87.92 kB / 0.9928 GB, free: 8.969 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2469, allocations: 150 kB / 0.9929 GB, free: 8.797 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.2471, allocations: 251.4 kB / 0.9932 GB, free: 8.527 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2472, allocations: 3.938 kB / 0.9932 GB, free: 8.523 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005264/0.2477, allocations: 347.2 kB / 0.9935 GB, free: 8.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2477, allocations: 4 kB / 0.9935 GB, free: 8.176 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-06/0.2477, allocations: 7.938 kB / 0.9935 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2477, allocations: 0 / 0.9935 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.2479, allocations: 75.94 kB / 0.9936 GB, free: 8.094 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2479, allocations: 7.938 kB / 0.9936 GB, free: 8.086 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.248, allocations: 16.05 kB / 0.9936 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.248, allocations: 35.97 kB / 0.9936 GB, free: 8.035 MB / 0.948 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 0.0001064/0.2481, allocations: 172.5 kB / 0.9938 GB, free: 7.855 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.2483, allocations: 43.66 kB / 0.9938 GB, free: 7.812 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.2495, allocations: 1.603 MB / 0.9954 GB, free: 6.207 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.2495, allocations: 11.98 kB / 0.9954 GB, free: 6.195 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2495, allocations: 4 kB / 0.9954 GB, free: 6.191 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2495, allocations: 0 / 0.9954 GB, free: 6.191 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.2512, allocations: 2.229 MB / 0.9976 GB, free: 3.867 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2512, allocations: 0 / 0.9976 GB, free: 3.867 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2513, allocations: 63.88 kB / 0.9977 GB, free: 3.805 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.2514, allocations: 0 / 0.9977 GB, free: 3.805 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.2514, allocations: 8 kB / 0.9977 GB, free: 3.797 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2514, allocations: 0 / 0.9977 GB, free: 3.797 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2514, allocations: 0 / 0.9977 GB, free: 3.797 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.2519, allocations: 0.5279 MB / 0.9982 GB, free: 3.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.252, allocations: 67.56 kB / 0.9983 GB, free: 3.184 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.252, allocations: 4 kB / 0.9983 GB, free: 3.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.2521, allocations: 15.94 kB / 0.9983 GB, free: 3.164 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.2521, allocations: 15.97 kB / 0.9983 GB, free: 3.148 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.2521, allocations: 15.98 kB / 0.9983 GB, free: 3.133 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.2522, allocations: 141.4 kB / 0.9984 GB, free: 2.996 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2522, allocations: 0 / 0.9984 GB, free: 2.996 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003785/0.256, allocations: 1.715 MB / 1 GB, free: 1.277 MB / 0.948 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.006245/0.2622, allocations: 2.209 MB / 1.002 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.2627, allocations: 276.6 kB / 1.003 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2627, allocations: 0 / 1.003 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.2628, allocations: 169.5 kB / 1.003 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.2632, allocations: 98 kB / 1.003 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2643, allocations: 0.5625 MB / 1.003 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.2643, allocations: 102.8 kB / 1.003 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003601/0.2647, allocations: 400.7 kB / 1.004 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.2648, allocations: 52.47 kB / 1.004 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of SimCode: time 1.292e-06/0.2648, allocations: 3.938 kB / 1.004 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of Templates: time 0.4418/0.7066, allocations: 71.88 MB / 1.074 GB, free: 148.1 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 9.637062550988048]