Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001039/0.001039, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001044/0.001044, allocations: 177 kB / 23.36 MB, free: 1.129 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.403/2.403, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.841e-05, allocations: 5.125 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.122/0.122, allocations: 131.3 MB / 0.9668 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02106/0.1431, allocations: 22.26 MB / 0.9886 GB, free: 4.078 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1432, allocations: 3.938 kB / 0.9886 GB, free: 4.074 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.1435, allocations: 43.7 kB / 0.9886 GB, free: 4.031 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1438, allocations: 103.3 kB / 0.9887 GB, free: 3.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0132/0.157, allocations: 7.024 MB / 0.9956 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.1573, allocations: 259.7 kB / 0.9958 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.1574, allocations: 14.41 kB / 0.9958 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.1577, allocations: 187.4 kB / 0.996 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1578, allocations: 71.78 kB / 0.9961 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1578, allocations: 8 kB / 0.9961 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01742/0.1752, allocations: 11.14 MB / 1.007 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1754, allocations: 31.89 kB / 1.007 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.1755, allocations: 71.81 kB / 1.007 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.1905, allocations: 8.353 MB / 1.015 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.1905, allocations: 0 / 1.015 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1905, allocations: 0 / 1.015 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1905, allocations: 0 / 1.015 GB, free: 8.719 MB / 0.9792 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.003092/0.1936, allocations: 1.149 MB / 1.016 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1936, allocations: 12.03 kB / 1.016 GB, free: 7.527 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000666/0.1943, allocations: 160.3 kB / 1.017 GB, free: 7.371 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1945, allocations: 161.6 kB / 1.017 GB, free: 7.188 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1945, allocations: 8.375 kB / 1.017 GB, free: 7.18 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.1946, allocations: 20.38 kB / 1.017 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.1953, allocations: 0.5975 MB / 1.017 GB, free: 6.492 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1953, allocations: 0 / 1.017 GB, free: 6.492 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1953, allocations: 8 kB / 1.017 GB, free: 6.484 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1953, allocations: 8 kB / 1.017 GB, free: 6.477 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.1958, allocations: 396.4 kB / 1.018 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.1965, allocations: 0.6189 MB / 1.018 GB, free: 5.441 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.1969, allocations: 218.2 kB / 1.018 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.1969, allocations: 48.83 kB / 1.019 GB, free: 5.168 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04431/0.2412, allocations: 24.79 MB / 1.043 GB, free: 12.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.2413, allocations: 34.56 kB / 1.043 GB, free: 12.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.2413, allocations: 0 / 1.043 GB, free: 12.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.0008826/0.2422, allocations: 379.9 kB / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2422, allocations: 55.34 kB / 1.043 GB, free: 11.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.2423, allocations: 133.9 kB / 1.043 GB, free: 11.72 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.2423, allocations: 33.7 kB / 1.043 GB, free: 11.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.2423, allocations: 112.5 kB / 1.043 GB, free: 11.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.2424, allocations: 99.16 kB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.2425, allocations: 61.64 kB / 1.044 GB, free: 11.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.2425, allocations: 326.8 kB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.2426, allocations: 63.88 kB / 1.044 GB, free: 11.01 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.2427, allocations: 105.1 kB / 1.044 GB, free: 10.89 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.2429, allocations: 199.6 kB / 1.044 GB, free: 10.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.2429, allocations: 4 kB / 1.044 GB, free: 10.67 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003096/0.2432, allocations: 224.7 kB / 1.044 GB, free: 10.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2432, allocations: 11.98 kB / 1.045 GB, free: 10.44 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2432, allocations: 0 / 1.045 GB, free: 10.44 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2433, allocations: 4 kB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2434, allocations: 71.88 kB / 1.045 GB, free: 10.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.2434, allocations: 0 / 1.045 GB, free: 10.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.2435, allocations: 31.72 kB / 1.045 GB, free: 10.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.2435, allocations: 12.14 kB / 1.045 GB, free: 10.32 MB / 1.01 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 8.896e-05/0.2436, allocations: 128.6 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.2437, allocations: 43.72 kB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/0.2446, allocations: 1.365 MB / 1.046 GB, free: 8.766 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.2447, allocations: 19.98 kB / 1.046 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2447, allocations: 0 / 1.046 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2447, allocations: 0 / 1.046 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.2459, allocations: 1.733 MB / 1.048 GB, free: 6.984 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2459, allocations: 4 kB / 1.048 GB, free: 6.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.246, allocations: 47.95 kB / 1.048 GB, free: 6.934 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.246, allocations: 0 / 1.048 GB, free: 6.934 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.246, allocations: 11.98 kB / 1.048 GB, free: 6.922 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.246, allocations: 0 / 1.048 GB, free: 6.922 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.246, allocations: 3.938 kB / 1.048 GB, free: 6.918 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.2464, allocations: 440.4 kB / 1.048 GB, free: 6.473 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.2465, allocations: 55.59 kB / 1.048 GB, free: 6.418 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2465, allocations: 4 kB / 1.048 GB, free: 6.414 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.2466, allocations: 8 kB / 1.048 GB, free: 6.406 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.2466, allocations: 19.97 kB / 1.048 GB, free: 6.387 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.2466, allocations: 15.98 kB / 1.048 GB, free: 6.371 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.149e-05/0.2466, allocations: 20.83 kB / 1.048 GB, free: 6.348 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.2466, allocations: 0 / 1.048 GB, free: 6.348 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003894/0.2505, allocations: 1.715 MB / 1.05 GB, free: 4.629 MB / 1.01 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.006288/0.2568, allocations: 2.353 MB / 1.052 GB, free: 2.254 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.2572, allocations: 197.2 kB / 1.053 GB, free: 2.059 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.2572, allocations: 0 / 1.053 GB, free: 2.059 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2574, allocations: 127.4 kB / 1.053 GB, free: 1.934 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2578, allocations: 96.08 kB / 1.053 GB, free: 1.84 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.2587, allocations: 0.5702 MB / 1.053 GB, free: 1.242 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.084e-05/0.2588, allocations: 98.81 kB / 1.053 GB, free: 1.125 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003636/0.2592, allocations: 396.7 kB / 1.054 GB, free: 0.7383 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.2594, allocations: 153.2 kB / 1.054 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of SimCode: time 2.023e-06/0.2594, allocations: 0 / 1.054 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of Templates: time 0.4574/0.7168, allocations: 68.79 MB / 1.121 GB, free: 59.72 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.777493076398969]