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.001662/0.001662, 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.002066/0.002066, 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 1.049/1.049, 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.887/1.887, allocations: 359 MB / 0.6052 GB, free: 11.02 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.903e-06/1.903e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.264e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1291/0.1291, allocations: 131.9 MB / 0.9159 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.1488, allocations: 22.3 MB / 0.9376 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.149, allocations: 7.938 kB / 0.9376 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1493, allocations: 47.62 kB / 0.9377 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.1496, allocations: 99.34 kB / 0.9378 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0125/0.1621, allocations: 7 MB / 0.9446 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1624, allocations: 263.7 kB / 0.9449 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.1624, allocations: 13.8 kB / 0.9449 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.1627, allocations: 187.4 kB / 0.9451 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1629, allocations: 75.78 kB / 0.9451 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1629, allocations: 8 kB / 0.9451 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/0.1775, allocations: 11.13 MB / 0.956 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.424e-05/0.1776, allocations: 39.88 kB / 0.9561 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.1777, allocations: 63.84 kB / 0.9561 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.1895, allocations: 8.357 MB / 0.9643 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1895, allocations: 0 / 0.9643 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1895, allocations: 0 / 0.9643 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.1895, allocations: 0 / 0.9643 GB, free: 6.5 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.002467/0.1919, allocations: 1.267 MB / 0.9655 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.192, allocations: 8.031 kB / 0.9655 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/0.1926, allocations: 156.3 kB / 0.9657 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1929, allocations: 168.4 kB / 0.9658 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1929, allocations: 8.375 kB / 0.9658 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.1929, allocations: 24.38 kB / 0.9659 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/0.1937, allocations: 0.635 MB / 0.9665 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1937, allocations: 4 kB / 0.9665 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1937, allocations: 4 kB / 0.9665 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1937, allocations: 4 kB / 0.9665 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.1944, allocations: 497.3 kB / 0.967 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.1952, allocations: 0.8748 MB / 0.9678 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.1957, allocations: 258.8 kB / 0.9681 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.1958, allocations: 55.66 kB / 0.9681 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04367/0.2394, allocations: 23.55 MB / 0.9911 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2395, allocations: 45.33 kB / 0.9912 GB, free: 10.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.2395, allocations: 0 / 0.9912 GB, free: 10.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001102/0.2406, allocations: 459.4 kB / 0.9916 GB, free: 10.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.2406, allocations: 59.41 kB / 0.9917 GB, free: 10.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2407, allocations: 187.5 kB / 0.9918 GB, free: 9.973 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2407, allocations: 29.7 kB / 0.9919 GB, free: 9.938 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.2408, allocations: 159.3 kB / 0.992 GB, free: 9.777 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.2408, allocations: 95.14 kB / 0.9921 GB, free: 9.684 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.2409, allocations: 87.28 kB / 0.9922 GB, free: 9.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.241, allocations: 0.4962 MB / 0.9927 GB, free: 9.082 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2412, allocations: 87.92 kB / 0.9928 GB, free: 8.996 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.2413, allocations: 154 kB / 0.9929 GB, free: 8.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.2416, allocations: 251.6 kB / 0.9931 GB, free: 8.551 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2416, allocations: 7.938 kB / 0.9931 GB, free: 8.543 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005099/0.2421, allocations: 342.9 kB / 0.9935 GB, free: 8.207 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2422, allocations: 8 kB / 0.9935 GB, free: 8.199 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2422, allocations: 0 / 0.9935 GB, free: 8.199 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2422, allocations: 4 kB / 0.9935 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.2424, allocations: 88.03 kB / 0.9936 GB, free: 8.109 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2424, allocations: 4 kB / 0.9936 GB, free: 8.105 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.2424, allocations: 15.89 kB / 0.9936 GB, free: 8.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2425, allocations: 23.98 kB / 0.9936 GB, free: 8.066 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.0001004/0.2426, allocations: 176.4 kB / 0.9938 GB, free: 7.883 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.2427, allocations: 47.59 kB / 0.9938 GB, free: 7.836 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.2439, allocations: 1.603 MB / 0.9954 GB, free: 6.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.2439, allocations: 15.97 kB / 0.9954 GB, free: 6.215 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2439, allocations: 4 kB / 0.9954 GB, free: 6.211 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2439, allocations: 0 / 0.9954 GB, free: 6.211 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.2456, allocations: 2.229 MB / 0.9976 GB, free: 3.887 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2456, allocations: 0 / 0.9976 GB, free: 3.887 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.2457, allocations: 47.95 kB / 0.9976 GB, free: 3.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2457, allocations: 4 kB / 0.9976 GB, free: 3.836 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2458, allocations: 11.98 kB / 0.9976 GB, free: 3.824 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2458, allocations: 0 / 0.9976 GB, free: 3.824 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2458, allocations: 0 / 0.9976 GB, free: 3.824 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.2463, allocations: 0.5356 MB / 0.9982 GB, free: 3.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.2463, allocations: 63.56 kB / 0.9982 GB, free: 3.207 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2464, allocations: 8 kB / 0.9982 GB, free: 3.199 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2465, allocations: 8 kB / 0.9982 GB, free: 3.191 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.2465, allocations: 19.97 kB / 0.9983 GB, free: 3.172 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2466, allocations: 15.98 kB / 0.9983 GB, free: 3.156 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.2466, allocations: 135.2 kB / 0.9984 GB, free: 3.023 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2466, allocations: 0 / 0.9984 GB, free: 3.023 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003581/0.2502, allocations: 1.719 MB / 1 GB, free: 1.301 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.00505/0.2552, allocations: 2.211 MB / 1.002 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.2556, allocations: 277 kB / 1.003 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2556, allocations: 4.062 kB / 1.003 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.2558, allocations: 169.4 kB / 1.003 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.2562, allocations: 95.83 kB / 1.003 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2572, allocations: 0.5625 MB / 1.003 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.899e-05/0.2573, allocations: 98.83 kB / 1.003 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004274/0.2577, allocations: 400.7 kB / 1.004 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.2578, allocations: 44.47 kB / 1.004 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/0.2578, allocations: 4 kB / 1.004 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of Templates: time 0.3923/0.6501, allocations: 61.66 MB / 1.064 GB, free: 149.8 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: 8.532660215627402]