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.0009745/0.0009745, allocations: 77.97 kB / 21.47 MB, free: 3.031 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.001071/0.001071, allocations: 155.5 kB / 24.86 MB, free: 8.887 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.9164/0.9164, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.936/1.936, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 177] 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.244e-06/2.244e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.544e-05, allocations: 3.406 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1224/0.1224, allocations: 129.4 MB / 0.9147 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.1428, allocations: 21.96 MB / 0.9361 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.143, allocations: 0 / 0.9361 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.1433, allocations: 51.67 kB / 0.9362 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.1437, allocations: 103.3 kB / 0.9363 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.01268/0.1564, allocations: 7.01 MB / 0.9431 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.1567, allocations: 255.7 kB / 0.9434 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.1567, allocations: 13.8 kB / 0.9434 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.1571, allocations: 187.4 kB / 0.9436 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1572, allocations: 75.77 kB / 0.9436 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1572, allocations: 8 kB / 0.9436 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/0.1746, allocations: 11.14 MB / 0.9545 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1748, allocations: 35.91 kB / 0.9545 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.1749, allocations: 67.81 kB / 0.9546 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.1887, allocations: 8.361 MB / 0.9628 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1887, allocations: 0 / 0.9628 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1887, allocations: 0 / 0.9628 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1887, allocations: 0 / 0.9628 GB, free: 9.016 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.002561/0.1913, allocations: 1.267 MB / 0.964 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1913, allocations: 8.031 kB / 0.964 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.1919, allocations: 152.3 kB / 0.9642 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1921, allocations: 168.4 kB / 0.9643 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1921, allocations: 12.38 kB / 0.9643 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1922, allocations: 32.3 kB / 0.9644 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.1929, allocations: 0.5959 MB / 0.9649 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1929, allocations: 3.938 kB / 0.965 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1929, allocations: 12 kB / 0.965 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1929, allocations: 4 kB / 0.965 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.1935, allocations: 421 kB / 0.9654 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.1941, allocations: 0.8481 MB / 0.9662 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.1945, allocations: 240.3 kB / 0.9664 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1946, allocations: 55.66 kB / 0.9665 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03816/0.2328, allocations: 19.35 MB / 0.9854 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2328, allocations: 41.39 kB / 0.9854 GB, free: 1.578 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 1.472e-06/0.2328, allocations: 4 kB / 0.9854 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001011/0.2338, allocations: 435.3 kB / 0.9858 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2338, allocations: 55.41 kB / 0.9859 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.2339, allocations: 185.8 kB / 0.9861 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.234, allocations: 29.7 kB / 0.9861 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.234, allocations: 159.3 kB / 0.9862 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.2341, allocations: 87.22 kB / 0.9863 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.2342, allocations: 87.25 kB / 0.9864 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2343, allocations: 0.4962 MB / 0.9869 GB, free: 16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.2344, allocations: 75.92 kB / 0.987 GB, free: 15.92 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2345, allocations: 142 kB / 0.9871 GB, free: 15.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.2348, allocations: 227.4 kB / 0.9873 GB, free: 15.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2348, allocations: 0 / 0.9873 GB, free: 15.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004527/0.2352, allocations: 319.1 kB / 0.9876 GB, free: 15.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2352, allocations: 4.156 kB / 0.9876 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2352, allocations: 4 kB / 0.9876 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2353, allocations: 4 kB / 0.9876 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2354, allocations: 79.88 kB / 0.9877 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2354, allocations: 4 kB / 0.9877 GB, free: 15.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.2355, allocations: 15.89 kB / 0.9877 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.2355, allocations: 27.97 kB / 0.9878 GB, free: 15.06 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.000102/0.2356, allocations: 172.5 kB / 0.9879 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.2358, allocations: 43.59 kB / 0.988 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.2368, allocations: 1.38 MB / 0.9893 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.2368, allocations: 11.98 kB / 0.9893 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.2368, allocations: 0 / 0.9893 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2368, allocations: 0 / 0.9893 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.2384, allocations: 1.976 MB / 0.9912 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2384, allocations: 0 / 0.9912 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.2385, allocations: 59.89 kB / 0.9913 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2385, allocations: 0 / 0.9913 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2385, allocations: 11.98 kB / 0.9913 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.2385, allocations: 11.94 kB / 0.9913 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2385, allocations: 0 / 0.9913 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.2389, allocations: 0.4927 MB / 0.9918 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.239, allocations: 67.56 kB / 0.9919 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.239, allocations: 4 kB / 0.9919 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.2391, allocations: 8 kB / 0.9919 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.2391, allocations: 19.97 kB / 0.9919 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2392, allocations: 11.98 kB / 0.9919 GB, free: 10.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.866e-05/0.2392, allocations: 145.2 kB / 0.9921 GB, free: 10.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2392, allocations: 0 / 0.9921 GB, free: 10.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003725/0.2429, allocations: 1.719 MB / 0.9937 GB, free: 8.812 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.005427/0.2484, allocations: 2.24 MB / 0.9959 GB, free: 6.555 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.2487, allocations: 244.6 kB / 0.9962 GB, free: 6.309 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2487, allocations: 0 / 0.9962 GB, free: 6.309 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.2488, allocations: 153.5 kB / 0.9963 GB, free: 6.156 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.2492, allocations: 88.09 kB / 0.9964 GB, free: 6.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.2502, allocations: 0.5507 MB / 0.9969 GB, free: 5.488 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.2502, allocations: 98.83 kB / 0.997 GB, free: 5.375 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003443/0.2506, allocations: 408.7 kB / 0.9974 GB, free: 4.973 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.2508, allocations: 194.1 kB / 0.9976 GB, free: 4.781 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/0.2508, allocations: 0 / 0.9976 GB, free: 4.781 MB / 0.948 GB Notification: Performance of Templates: time 0.402/0.6529, allocations: 70.38 MB / 1.066 GB, free: 152 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: 9.943815031088889]