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.001214/0.001214, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001438/0.001438, allocations: 185 kB / 24.09 MB, free: 416 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 0.9481/0.9481, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.758/1.758, allocations: 359 MB / 0.6055 GB, free: 10.87 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 2.044e-06/2.044e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.813e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1117/0.1117, allocations: 129.4 MB / 0.9139 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.1297, allocations: 21.96 MB / 0.9354 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1299, allocations: 0 / 0.9354 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1301, allocations: 47.58 kB / 0.9354 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1304, allocations: 107.3 kB / 0.9355 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.1418, allocations: 7 MB / 0.9424 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.142, allocations: 259.7 kB / 0.9426 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.1421, allocations: 13.8 kB / 0.9426 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.1423, allocations: 183.4 kB / 0.9428 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1424, allocations: 75.78 kB / 0.9429 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1425, allocations: 12 kB / 0.9429 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.1554, allocations: 11.14 MB / 0.9538 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.1554, allocations: 39.83 kB / 0.9538 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.1555, allocations: 63.89 kB / 0.9539 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.009084/0.1646, allocations: 8.353 MB / 0.962 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1646, allocations: 0 / 0.962 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1646, allocations: 0 / 0.962 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1646, allocations: 0 / 0.962 GB, free: 8.996 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.001925/0.1665, allocations: 1.27 MB / 0.9632 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1666, allocations: 12.03 kB / 0.9633 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.1672, allocations: 152.3 kB / 0.9634 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1673, allocations: 172.4 kB / 0.9636 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1674, allocations: 8.375 kB / 0.9636 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1674, allocations: 24.38 kB / 0.9636 GB, free: 7.297 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.168, allocations: 0.5977 MB / 0.9642 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.168, allocations: 0 / 0.9642 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1681, allocations: 12 kB / 0.9642 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1681, allocations: 4 kB / 0.9642 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.1686, allocations: 428.3 kB / 0.9646 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.1692, allocations: 0.8559 MB / 0.9654 GB, free: 5.293 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.1696, allocations: 243.4 kB / 0.9657 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.1697, allocations: 51.66 kB / 0.9657 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03466/0.2043, allocations: 19.43 MB / 0.9847 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.2044, allocations: 37.39 kB / 0.9847 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.2044, allocations: 0 / 0.9847 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001041/0.2054, allocations: 435.3 kB / 0.9852 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2054, allocations: 55.41 kB / 0.9852 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2056, allocations: 189.8 kB / 0.9854 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.2056, allocations: 29.7 kB / 0.9854 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.2057, allocations: 155.3 kB / 0.9856 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.2057, allocations: 91.2 kB / 0.9857 GB, free: 496 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-05/0.2058, allocations: 91.25 kB / 0.9857 GB, free: 396 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.206, allocations: 0.4962 MB / 0.9862 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2061, allocations: 75.86 kB / 0.9863 GB, free: 15.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.2062, allocations: 142 kB / 0.9864 GB, free: 15.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.2065, allocations: 235.5 kB / 0.9867 GB, free: 15.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2065, allocations: 0 / 0.9867 GB, free: 15.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004552/0.2069, allocations: 318.9 kB / 0.987 GB, free: 15.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2069, allocations: 4 kB / 0.987 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2069, allocations: 4 kB / 0.987 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.207, allocations: 0 / 0.987 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.2071, allocations: 83.88 kB / 0.987 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2071, allocations: 8.156 kB / 0.9871 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2072, allocations: 15.88 kB / 0.9871 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2072, allocations: 23.98 kB / 0.9871 GB, free: 14.93 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.0001167/0.2073, allocations: 176.5 kB / 0.9873 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.2075, allocations: 43.66 kB / 0.9873 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009905/0.2084, allocations: 1.36 MB / 0.9886 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2085, allocations: 15.92 kB / 0.9886 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2085, allocations: 0 / 0.9886 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2085, allocations: 7.984 kB / 0.9887 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2098, allocations: 1.968 MB / 0.9906 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2098, allocations: 0 / 0.9906 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.2099, allocations: 59.89 kB / 0.9906 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2099, allocations: 0 / 0.9906 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2099, allocations: 11.98 kB / 0.9906 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2099, allocations: 0 / 0.9906 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2099, allocations: 0 / 0.9906 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.2103, allocations: 0.4926 MB / 0.9911 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.2104, allocations: 67.56 kB / 0.9912 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2104, allocations: 8 kB / 0.9912 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.2105, allocations: 12 kB / 0.9912 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.2105, allocations: 15.97 kB / 0.9912 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2106, allocations: 15.98 kB / 0.9912 GB, free: 10.56 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.2106, allocations: 131.2 kB / 0.9914 GB, free: 10.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.2106, allocations: 0 / 0.9914 GB, free: 10.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003279/0.2139, allocations: 1.715 MB / 0.993 GB, free: 8.715 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.005457/0.2193, allocations: 2.266 MB / 0.9953 GB, free: 6.434 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.2197, allocations: 233.1 kB / 0.9955 GB, free: 6.203 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2197, allocations: 8.125 kB / 0.9955 GB, free: 6.195 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.2199, allocations: 149.4 kB / 0.9956 GB, free: 6.047 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.2203, allocations: 91.84 kB / 0.9957 GB, free: 5.957 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2214, allocations: 0.5553 MB / 0.9963 GB, free: 5.371 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.261e-05/0.2215, allocations: 102.8 kB / 0.9964 GB, free: 5.254 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004472/0.2219, allocations: 404.7 kB / 0.9967 GB, free: 4.855 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.2222, allocations: 190.1 kB / 0.9969 GB, free: 4.668 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/0.2222, allocations: 4 kB / 0.9969 GB, free: 4.664 MB / 0.948 GB Notification: Performance of Templates: time 0.3947/0.6169, allocations: 70.31 MB / 1.066 GB, free: 151.5 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.22230436373502]