Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.0009693/0.0009693, allocations: 81.95 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.001044/0.001044, allocations: 181.3 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.9044/0.9044, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.809/1.809, allocations: 377.9 MB / 0.624 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.474e-05, allocations: 6.25 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.131/0.1311, allocations: 152.3 MB / 0.9608 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.1441, allocations: 10 MB / 0.9705 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.1464, allocations: 87.25 kB / 0.9706 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1476, allocations: 436.6 kB / 0.971 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.1511, allocations: 1.632 MB / 0.9726 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.1545, allocations: 1.457 MB / 0.974 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004377/0.1588, allocations: 3.413 MB / 0.9774 GB, free: 7.566 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.1604, allocations: 1.031 MB / 0.9784 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.1647, allocations: 2.135 MB / 0.9805 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.1664, allocations: 0.8566 MB / 0.9813 GB, free: 3.617 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.1666, allocations: 112 kB / 0.9814 GB, free: 3.508 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.1687, allocations: 1.134 MB / 0.9825 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004938/0.1692, allocations: 0.5099 MB / 0.983 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.1699, allocations: 0.526 MB / 0.9835 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.173, allocations: 1.752 MB / 0.9852 GB, free: 15.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1731, allocations: 4 kB / 0.9852 GB, free: 15.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1731, allocations: 0 / 0.9852 GB, free: 15.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.702e-05/0.1731, allocations: 0 / 0.9852 GB, free: 15.57 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00274/0.1758, allocations: 2 MB / 0.9872 GB, free: 13.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1759, allocations: 12.03 kB / 0.9872 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.1776, allocations: 0.5566 MB / 0.9878 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.1792, allocations: 1.107 MB / 0.9888 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/0.1793, allocations: 77.98 kB / 0.9889 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1794, allocations: 96 kB / 0.989 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.1808, allocations: 1.13 MB / 0.9901 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1808, allocations: 4 kB / 0.9901 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.1809, allocations: 51.94 kB / 0.9902 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.181, allocations: 41.98 kB / 0.9902 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.1816, allocations: 381.2 kB / 0.9906 GB, free: 9.836 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005963/0.1875, allocations: 7.326 MB / 0.9977 GB, free: 2.258 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.188, allocations: 199.4 kB / 0.9979 GB, free: 2.051 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1881, allocations: 71.64 kB / 0.998 GB, free: 1.977 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.1882, allocations: 20 kB / 0.998 GB, free: 1.957 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1882, allocations: 41.39 kB / 0.998 GB, free: 1.906 MB / 0.948 GB Notification: Performance of pre-optimization done (n=32): time 2.725e-06/0.1882, allocations: 0 / 0.998 GB, free: 1.906 MB / 0.948 GB Notification: Performance of matching and sorting (n=32): time 0.0008689/0.1891, allocations: 393.6 kB / 0.9984 GB, free: 1.516 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1891, allocations: 51.41 kB / 0.9985 GB, free: 1.453 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009844/0.1901, allocations: 1.035 MB / 0.9995 GB, free: 420 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.1902, allocations: 33.7 kB / 0.9995 GB, free: 380 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.1907, allocations: 0.8104 MB / 1 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.1908, allocations: 131 kB / 1 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.191, allocations: 168.1 kB / 1.001 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1912, allocations: 0.5121 MB / 1.001 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1913, allocations: 83.55 kB / 1.001 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.192, allocations: 0.8221 MB / 1.002 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.1926, allocations: 0.673 MB / 1.003 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.1927, allocations: 4 kB / 1.003 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0009139/0.1936, allocations: 0.609 MB / 1.003 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1936, allocations: 12 kB / 1.003 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.1936, allocations: 8 kB / 1.003 GB, free: 12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.1936, allocations: 16 kB / 1.003 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.1941, allocations: 187.6 kB / 1.003 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.1942, allocations: 23.92 kB / 1.003 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.1948, allocations: 131.3 kB / 1.004 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.1949, allocations: 36 kB / 1.004 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00031/0.1952, allocations: 208.8 kB / 1.004 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004918/0.1957, allocations: 0.8218 MB / 1.005 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005857/0.1963, allocations: 0.6785 MB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/0.1963, allocations: 0 / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0008464/0.1971, allocations: 0.6063 MB / 1.006 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1972, allocations: 12 kB / 1.006 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1972, allocations: 12 kB / 1.006 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1972, allocations: 16 kB / 1.006 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.1976, allocations: 188.2 kB / 1.006 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.1977, allocations: 23.92 kB / 1.006 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.1983, allocations: 99.58 kB / 1.006 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.1984, allocations: 35.94 kB / 1.006 GB, free: 8.402 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (87): * Single equations (assignments): 87 * 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.0002018/0.1986, allocations: 327.8 kB / 1.007 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.1987, allocations: 131.2 kB / 1.007 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005296/0.1992, allocations: 332.7 kB / 1.007 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1993, allocations: 8 kB / 1.007 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1993, allocations: 4 kB / 1.007 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1993, allocations: 3.938 kB / 1.007 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.201, allocations: 1.103 MB / 1.008 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.201, allocations: 4 kB / 1.008 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2013, allocations: 80.34 kB / 1.008 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.2013, allocations: 11.94 kB / 1.008 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.2013, allocations: 19.92 kB / 1.008 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2013, allocations: 4 kB / 1.008 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.2013, allocations: 4 kB / 1.008 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.2019, allocations: 0.5726 MB / 1.009 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2022, allocations: 183.1 kB / 1.009 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.339e-05/0.2023, allocations: 8 kB / 1.009 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.2027, allocations: 39.97 kB / 1.009 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.2028, allocations: 31.89 kB / 1.009 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.2028, allocations: 19.98 kB / 1.009 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004995/0.2033, allocations: 0.5704 MB / 1.01 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.2033, allocations: 0 / 1.01 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001527/0.2049, allocations: 0.6664 MB / 1.01 GB, free: 4.105 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (31): * Single equations (assignments): 31 * 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 Backend phase and start with SimCode phase: time 0.0003055/0.2052, allocations: 179 kB / 1.01 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008512/0.206, allocations: 0.5439 MB / 1.011 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.206, allocations: 0 / 1.011 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.2062, allocations: 104.6 kB / 1.011 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.2077, allocations: 492.9 kB / 1.012 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.2111, allocations: 2.06 MB / 1.014 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.2114, allocations: 255.3 kB / 1.014 GB, free: 356 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007703/0.2121, allocations: 216.8 kB / 1.014 GB, free: 136 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008313/0.213, allocations: 441.8 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of SimCode: time 1.263e-06/0.213, allocations: 0 / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.02343/0.2364, allocations: 18.37 MB / 1.032 GB, free: 13.73 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.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: 5.72309614578262]