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.001006/0.001006, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001255/0.001255, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.878/1.878, allocations: 359 MB / 0.6055 GB, free: 11.01 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.924e-06/1.924e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.169e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1201/0.1202, allocations: 131.6 MB / 0.9156 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.1387, allocations: 22.27 MB / 0.9374 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.1389, allocations: 0 / 0.9374 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1391, allocations: 51.62 kB / 0.9374 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1394, allocations: 99.3 kB / 0.9375 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.01245/0.1519, allocations: 6.999 MB / 0.9443 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.1522, allocations: 255.7 kB / 0.9446 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.1522, allocations: 9.797 kB / 0.9446 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.1525, allocations: 195.3 kB / 0.9448 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1527, allocations: 75.77 kB / 0.9448 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1527, allocations: 8 kB / 0.9448 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/0.1682, allocations: 11.13 MB / 0.9557 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1684, allocations: 31.91 kB / 0.9557 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1685, allocations: 63.88 kB / 0.9558 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.1816, allocations: 8.365 MB / 0.964 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1816, allocations: 0 / 0.964 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1816, allocations: 0 / 0.964 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1816, allocations: 0 / 0.964 GB, free: 7.129 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.002213/0.1839, allocations: 1.267 MB / 0.9652 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1839, allocations: 8.031 kB / 0.9652 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007673/0.1847, allocations: 148.3 kB / 0.9654 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1849, allocations: 172.4 kB / 0.9655 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1849, allocations: 12.38 kB / 0.9655 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1849, allocations: 24.38 kB / 0.9656 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008072/0.1857, allocations: 0.6368 MB / 0.9662 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1857, allocations: 0 / 0.9662 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.1857, allocations: 12 kB / 0.9662 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1858, allocations: 4 kB / 0.9662 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/0.1864, allocations: 483.4 kB / 0.9667 GB, free: 4.238 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.1872, allocations: 0.8788 MB / 0.9675 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.1877, allocations: 268.8 kB / 0.9678 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.607e-05/0.1878, allocations: 59.66 kB / 0.9678 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04789/0.2356, allocations: 23.55 MB / 0.9908 GB, free: 11.37 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2357, allocations: 41.39 kB / 0.9909 GB, free: 11.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.2357, allocations: 0 / 0.9909 GB, free: 11.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001502/0.2372, allocations: 463.1 kB / 0.9913 GB, free: 10.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2372, allocations: 55.41 kB / 0.9914 GB, free: 10.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2373, allocations: 185.9 kB / 0.9915 GB, free: 10.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.2374, allocations: 29.7 kB / 0.9916 GB, free: 10.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.2374, allocations: 155.3 kB / 0.9917 GB, free: 10.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.2375, allocations: 87.23 kB / 0.9918 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2376, allocations: 95.27 kB / 0.9919 GB, free: 10.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2377, allocations: 0.4884 MB / 0.9924 GB, free: 9.719 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2379, allocations: 87.92 kB / 0.9924 GB, free: 9.633 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.2381, allocations: 158 kB / 0.9926 GB, free: 9.453 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.2385, allocations: 243.7 kB / 0.9928 GB, free: 9.191 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2385, allocations: 3.938 kB / 0.9928 GB, free: 9.188 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009859/0.2395, allocations: 350.9 kB / 0.9932 GB, free: 8.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2395, allocations: 8 kB / 0.9932 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2395, allocations: 0 / 0.9932 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2395, allocations: 7.984 kB / 0.9932 GB, free: 8.824 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.2398, allocations: 79.89 kB / 0.9933 GB, free: 8.746 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2398, allocations: 7.984 kB / 0.9933 GB, free: 8.738 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.2399, allocations: 15.89 kB / 0.9933 GB, free: 8.723 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.2399, allocations: 19.98 kB / 0.9933 GB, free: 8.703 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.0001215/0.24, allocations: 180.6 kB / 0.9935 GB, free: 8.516 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.2402, allocations: 43.66 kB / 0.9935 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.2419, allocations: 1.603 MB / 0.9951 GB, free: 6.867 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.2419, allocations: 11.98 kB / 0.9951 GB, free: 6.855 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2419, allocations: 0 / 0.9951 GB, free: 6.855 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2419, allocations: 3.984 kB / 0.9951 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.244, allocations: 2.229 MB / 0.9973 GB, free: 4.527 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.244, allocations: 4 kB / 0.9973 GB, free: 4.523 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.2442, allocations: 55.89 kB / 0.9973 GB, free: 4.469 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2442, allocations: 7.938 kB / 0.9973 GB, free: 4.461 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2442, allocations: 4 kB / 0.9973 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2442, allocations: 4 kB / 0.9973 GB, free: 4.453 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2442, allocations: 3.984 kB / 0.9974 GB, free: 4.449 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.2449, allocations: 0.5317 MB / 0.9979 GB, free: 3.898 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.2449, allocations: 63.58 kB / 0.9979 GB, free: 3.836 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.245, allocations: 8 kB / 0.9979 GB, free: 3.828 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2451, allocations: 11.98 kB / 0.998 GB, free: 3.816 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.2451, allocations: 19.97 kB / 0.998 GB, free: 3.797 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.2452, allocations: 16 kB / 0.998 GB, free: 3.781 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.2452, allocations: 132.9 kB / 0.9981 GB, free: 3.652 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.2452, allocations: 0 / 0.9981 GB, free: 3.652 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003957/0.2492, allocations: 1.723 MB / 0.9998 GB, free: 1.926 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.005961/0.2551, allocations: 2.205 MB / 1.002 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.2556, allocations: 276.6 kB / 1.002 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.2556, allocations: 4 kB / 1.002 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.2559, allocations: 169.4 kB / 1.002 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.2564, allocations: 96.14 kB / 1.002 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2575, allocations: 0.5625 MB / 1.003 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.973e-05/0.2576, allocations: 94.83 kB / 1.003 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0004602/0.2581, allocations: 404.7 kB / 1.003 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2582, allocations: 44.47 kB / 1.004 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of SimCode: time 9.72e-07/0.2582, allocations: 0 / 1.004 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of Templates: time 0.387/0.6452, allocations: 61.67 MB / 1.064 GB, free: 299.3 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.522043178789318]