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.001106/0.001106, 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.001203/0.001203, 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.9931/0.9931, 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.88/1.88, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.382e-06/1.382e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.853e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1198/0.1198, allocations: 131.9 MB / 0.9403 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.02093/0.1407, allocations: 22.31 MB / 0.9621 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1409, allocations: 3.938 kB / 0.9621 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.1412, allocations: 51.62 kB / 0.9622 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.1415, allocations: 95.34 kB / 0.9622 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.1554, allocations: 7.004 MB / 0.9691 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.1558, allocations: 251.8 kB / 0.9693 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.1558, allocations: 17.78 kB / 0.9693 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.1561, allocations: 183.2 kB / 0.9695 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1563, allocations: 87.75 kB / 0.9696 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1563, allocations: 8 kB / 0.9696 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/0.1721, allocations: 11.13 MB / 0.9805 GB, free: 4.191 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1722, allocations: 39.89 kB / 0.9805 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.1723, allocations: 63.83 kB / 0.9806 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.1875, allocations: 8.361 MB / 0.9887 GB, free: 11.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1875, allocations: 0 / 0.9887 GB, free: 11.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.375e-06/0.1875, allocations: 0 / 0.9887 GB, free: 11.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.1875, allocations: 0 / 0.9887 GB, free: 11.71 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.003921/0.1915, allocations: 1.263 MB / 0.99 GB, free: 10.41 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1915, allocations: 12.03 kB / 0.99 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.1922, allocations: 152.2 kB / 0.9901 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1925, allocations: 164.4 kB / 0.9903 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1925, allocations: 16.12 kB / 0.9903 GB, free: 10.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1925, allocations: 20.38 kB / 0.9903 GB, free: 10.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.1933, allocations: 0.6352 MB / 0.9909 GB, free: 9.312 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1933, allocations: 0 / 0.9909 GB, free: 9.312 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.1933, allocations: 12 kB / 0.9909 GB, free: 9.301 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.1934, allocations: 4 kB / 0.991 GB, free: 9.297 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.194, allocations: 490.2 kB / 0.9914 GB, free: 8.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/0.1948, allocations: 0.8787 MB / 0.9923 GB, free: 7.891 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.1953, allocations: 262.8 kB / 0.9925 GB, free: 7.621 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.1954, allocations: 63.66 kB / 0.9926 GB, free: 7.555 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04424/0.2396, allocations: 23.54 MB / 1.016 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.2396, allocations: 41.39 kB / 1.016 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.2396, allocations: 3.938 kB / 1.016 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of matching and sorting (n=25): time 0.001145/0.2408, allocations: 463.4 kB / 1.016 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.2408, allocations: 55.41 kB / 1.016 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2409, allocations: 189 kB / 1.016 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.2409, allocations: 33.7 kB / 1.016 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.241, allocations: 159.2 kB / 1.016 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.2411, allocations: 87.22 kB / 1.017 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.2412, allocations: 91.28 kB / 1.017 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2413, allocations: 0.4923 MB / 1.017 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2414, allocations: 91.86 kB / 1.017 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.2416, allocations: 150 kB / 1.017 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.2419, allocations: 256 kB / 1.018 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2419, allocations: 3.938 kB / 1.018 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005114/0.2424, allocations: 348.9 kB / 1.018 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2424, allocations: 4 kB / 1.018 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2424, allocations: 4 kB / 1.018 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2424, allocations: 0 / 1.018 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.2426, allocations: 79.88 kB / 1.018 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2426, allocations: 4 kB / 1.018 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.2427, allocations: 15.89 kB / 1.018 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2427, allocations: 31.97 kB / 1.018 GB, free: 13.28 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.000107/0.2428, allocations: 180.6 kB / 1.018 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.243, allocations: 43.66 kB / 1.018 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.2442, allocations: 1.596 MB / 1.02 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.2442, allocations: 19.91 kB / 1.02 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2442, allocations: 4 kB / 1.02 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2442, allocations: 0 / 1.02 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.2461, allocations: 2.221 MB / 1.022 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2461, allocations: 0 / 1.022 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.2463, allocations: 63.89 kB / 1.022 GB, free: 9.047 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2463, allocations: 0 / 1.022 GB, free: 9.047 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.2463, allocations: 11.98 kB / 1.022 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2463, allocations: 0 / 1.022 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2463, allocations: 0 / 1.022 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.2468, allocations: 0.5317 MB / 1.023 GB, free: 8.48 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.2469, allocations: 67.56 kB / 1.023 GB, free: 8.414 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.2469, allocations: 4 kB / 1.023 GB, free: 8.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.247, allocations: 8 kB / 1.023 GB, free: 8.402 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.247, allocations: 15.97 kB / 1.023 GB, free: 8.387 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.2471, allocations: 19.98 kB / 1.023 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.2471, allocations: 143.2 kB / 1.023 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2471, allocations: 0 / 1.023 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003892/0.251, allocations: 1.719 MB / 1.025 GB, free: 6.504 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.007041/0.2581, allocations: 2.213 MB / 1.027 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006509/0.2587, allocations: 268 kB / 1.027 GB, free: 4.012 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2587, allocations: 0 / 1.027 GB, free: 4.012 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.2589, allocations: 174.1 kB / 1.027 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.2593, allocations: 84.2 kB / 1.027 GB, free: 3.758 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2604, allocations: 0.5597 MB / 1.028 GB, free: 3.164 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.59e-05/0.2605, allocations: 106.8 kB / 1.028 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003636/0.2608, allocations: 400.7 kB / 1.028 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.2609, allocations: 48.47 kB / 1.028 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of SimCode: time 1.583e-06/0.2609, allocations: 0 / 1.028 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of Templates: time 0.4349/0.6959, allocations: 71.89 MB / 1.099 GB, free: 118.2 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.285242633894086]