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.001018/0.001018, allocations: 83.59 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.00105/0.00105, allocations: 165 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.9862/0.9862, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.995/1.995, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.563e-06/1.563e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.755e-05, allocations: 2.969 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1223/0.1223, allocations: 131.9 MB / 0.9403 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.1435, allocations: 22.3 MB / 0.9621 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.1437, allocations: 3.938 kB / 0.9621 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.144, allocations: 43.64 kB / 0.9621 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.1443, allocations: 103.3 kB / 0.9622 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01424/0.1585, allocations: 7 MB / 0.9691 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1589, allocations: 255.7 kB / 0.9693 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.1589, allocations: 17.8 kB / 0.9693 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.1592, allocations: 183.4 kB / 0.9695 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1593, allocations: 75.77 kB / 0.9696 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1594, allocations: 16 kB / 0.9696 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0164/0.1758, allocations: 11.13 MB / 0.9805 GB, free: 4.234 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1759, allocations: 43.88 kB / 0.9805 GB, free: 4.191 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.176, allocations: 63.83 kB / 0.9806 GB, free: 4.129 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.1915, allocations: 8.353 MB / 0.9887 GB, free: 11.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1915, allocations: 0 / 0.9887 GB, free: 11.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1915, allocations: 0 / 0.9887 GB, free: 11.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.1916, allocations: 0 / 0.9887 GB, free: 11.76 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.00265/0.1942, allocations: 1.263 MB / 0.99 GB, free: 10.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1942, allocations: 12.03 kB / 0.99 GB, free: 10.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006949/0.1949, allocations: 152.2 kB / 0.9901 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1952, allocations: 172.4 kB / 0.9903 GB, free: 10.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1952, allocations: 16.12 kB / 0.9903 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.1952, allocations: 16.38 kB / 0.9903 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.196, allocations: 0.6313 MB / 0.9909 GB, free: 9.359 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.196, allocations: 0 / 0.9909 GB, free: 9.359 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.196, allocations: 4 kB / 0.9909 GB, free: 9.355 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.196, allocations: 7.984 kB / 0.9909 GB, free: 9.348 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/0.1967, allocations: 498.2 kB / 0.9914 GB, free: 8.863 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.1975, allocations: 0.8787 MB / 0.9923 GB, free: 7.934 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.198, allocations: 266.8 kB / 0.9925 GB, free: 7.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.198, allocations: 59.66 kB / 0.9926 GB, free: 7.598 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04448/0.2425, allocations: 23.54 MB / 1.016 GB, free: 8 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.2426, allocations: 49.33 kB / 1.016 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.2426, allocations: 0 / 1.016 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=25): time 0.001161/0.2437, allocations: 463.4 kB / 1.016 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.2438, allocations: 55.41 kB / 1.016 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2439, allocations: 187.8 kB / 1.016 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2439, allocations: 33.7 kB / 1.016 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.244, allocations: 155.3 kB / 1.016 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.244, allocations: 91.16 kB / 1.017 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.2441, allocations: 87.28 kB / 1.017 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2443, allocations: 0.4923 MB / 1.017 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2444, allocations: 91.91 kB / 1.017 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.2445, allocations: 146 kB / 1.017 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.2449, allocations: 257.8 kB / 1.018 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2449, allocations: 3.938 kB / 1.018 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005275/0.2454, allocations: 347.1 kB / 1.018 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2454, allocations: 4 kB / 1.018 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2454, allocations: 4 kB / 1.018 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2454, allocations: 0 / 1.018 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.2456, allocations: 79.88 kB / 1.018 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2456, allocations: 12.09 kB / 1.018 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.2457, allocations: 15.89 kB / 1.018 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.2457, allocations: 35.95 kB / 1.018 GB, free: 13.31 MB / 0.9792 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.0001057/0.2458, allocations: 172.5 kB / 1.018 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.246, allocations: 39.66 kB / 1.018 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.2472, allocations: 1.604 MB / 1.02 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2472, allocations: 7.984 kB / 1.02 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2472, allocations: 0 / 1.02 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2472, allocations: 8 kB / 1.02 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.2491, allocations: 2.229 MB / 1.022 GB, free: 9.145 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2491, allocations: 0 / 1.022 GB, free: 9.145 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.2492, allocations: 59.94 kB / 1.022 GB, free: 9.086 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2492, allocations: 0 / 1.022 GB, free: 9.086 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2492, allocations: 4 kB / 1.022 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2492, allocations: 0 / 1.022 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2492, allocations: 0 / 1.022 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.2497, allocations: 0.5395 MB / 1.023 GB, free: 8.52 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.2498, allocations: 63.58 kB / 1.023 GB, free: 8.457 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2498, allocations: 8 kB / 1.023 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.2499, allocations: 8 kB / 1.023 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.25, allocations: 19.95 kB / 1.023 GB, free: 8.422 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.25, allocations: 12 kB / 1.023 GB, free: 8.41 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.25, allocations: 143.2 kB / 1.023 GB, free: 8.27 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.25, allocations: 0 / 1.023 GB, free: 8.27 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003913/0.2539, allocations: 1.715 MB / 1.025 GB, free: 6.551 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.006475/0.2604, allocations: 2.219 MB / 1.027 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.261, allocations: 272 kB / 1.027 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.261, allocations: 320 / 1.027 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.2611, allocations: 174.2 kB / 1.027 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.2616, allocations: 87.88 kB / 1.027 GB, free: 3.797 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.2628, allocations: 0.5587 MB / 1.028 GB, free: 3.207 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.525e-05/0.2628, allocations: 102.8 kB / 1.028 GB, free: 3.086 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005203/0.2634, allocations: 404.7 kB / 1.028 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.2635, allocations: 48.48 kB / 1.028 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of SimCode: time 2.345e-06/0.2635, allocations: 0 / 1.028 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of Templates: time 0.4661/0.7296, allocations: 61.66 MB / 1.089 GB, free: 122.1 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: 8.764375766273588]