Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001299/0.001299, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001553/0.001553, allocations: 170.3 kB / 24.86 MB, free: 9.277 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.801/1.801, allocations: 359 MB / 0.6063 GB, free: 10.89 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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.019e-05, allocations: 5.531 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1381/0.1381, allocations: 152.3 MB / 0.937 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.1511, allocations: 9.994 MB / 0.9467 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.1533, allocations: 91.25 kB / 0.9468 GB, free: 9.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1544, allocations: 428.6 kB / 0.9472 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.1578, allocations: 1.659 MB / 0.9489 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.1609, allocations: 1.456 MB / 0.9503 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004612/0.1656, allocations: 3.435 MB / 0.9536 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.1674, allocations: 1.042 MB / 0.9547 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.1716, allocations: 2.141 MB / 0.9567 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.1731, allocations: 0.8916 MB / 0.9576 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.1734, allocations: 112 kB / 0.9577 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.1755, allocations: 1.13 MB / 0.9588 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005124/0.176, allocations: 0.51 MB / 0.9593 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007957/0.1768, allocations: 0.526 MB / 0.9598 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.1798, allocations: 1.76 MB / 0.9616 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.1798, allocations: 0 / 0.9616 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1798, allocations: 0 / 0.9616 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.027e-05/0.1799, allocations: 0 / 0.9616 GB, free: 10.28 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002495/0.1824, allocations: 1.996 MB / 0.9635 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1824, allocations: 12.03 kB / 0.9635 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.1838, allocations: 0.5527 MB / 0.9641 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.185, allocations: 1.123 MB / 0.9652 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.1851, allocations: 74 kB / 0.9652 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/0.1852, allocations: 100 kB / 0.9653 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1863, allocations: 1.127 MB / 0.9664 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1863, allocations: 4 kB / 0.9664 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.1864, allocations: 44 kB / 0.9665 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/0.1864, allocations: 45.92 kB / 0.9665 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.1869, allocations: 377.3 kB / 0.9669 GB, free: 4.551 MB / 0.9167 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.004684/0.1916, allocations: 7.334 MB / 0.974 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.192, allocations: 198 kB / 0.9742 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.277e-05/0.1921, allocations: 75.64 kB / 0.9743 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.756e-05/0.1922, allocations: 23.98 kB / 0.9743 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1922, allocations: 45.38 kB / 0.9744 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=32): time 3.035e-06/0.1922, allocations: 0 / 0.9744 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=32): time 0.0006919/0.1929, allocations: 373.5 kB / 0.9747 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1929, allocations: 55.41 kB / 0.9748 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/0.1937, allocations: 1.035 MB / 0.9758 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.1938, allocations: 29.7 kB / 0.9758 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.1942, allocations: 0.8105 MB / 0.9766 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.1943, allocations: 127 kB / 0.9767 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.1944, allocations: 172.1 kB / 0.9769 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1946, allocations: 0.5042 MB / 0.9774 GB, free: 9.453 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1947, allocations: 83.62 kB / 0.9775 GB, free: 9.367 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.1951, allocations: 0.8221 MB / 0.9783 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.1956, allocations: 0.6763 MB / 0.9789 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1956, allocations: 4 kB / 0.9789 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007321/0.1964, allocations: 0.6076 MB / 0.9795 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1964, allocations: 8.938 kB / 0.9795 GB, free: 6.734 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1964, allocations: 12 kB / 0.9795 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1964, allocations: 16 kB / 0.9796 GB, free: 6.707 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.1968, allocations: 187.6 kB / 0.9797 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.1968, allocations: 23.92 kB / 0.9798 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.1974, allocations: 131.2 kB / 0.9799 GB, free: 6.371 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.1974, allocations: 35.98 kB / 0.9799 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000256/0.1977, allocations: 212.8 kB / 0.9801 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000405/0.1981, allocations: 0.8219 MB / 0.9809 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000468/0.1985, allocations: 0.6749 MB / 0.9816 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/0.1985, allocations: 4 kB / 0.9816 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0006678/0.1992, allocations: 0.6065 MB / 0.9822 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1992, allocations: 8 kB / 0.9822 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1992, allocations: 12 kB / 0.9822 GB, free: 3.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1992, allocations: 16 kB / 0.9822 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.1996, allocations: 187.6 kB / 0.9824 GB, free: 3.281 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.1996, allocations: 23.94 kB / 0.9824 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.2001, allocations: 103.7 kB / 0.9825 GB, free: 3.156 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.2001, allocations: 47.86 kB / 0.9826 GB, free: 3.109 MB / 0.9323 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.0001729/0.2003, allocations: 319.8 kB / 0.9829 GB, free: 2.789 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.2004, allocations: 131.2 kB / 0.983 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.2009, allocations: 330.1 kB / 0.9833 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2009, allocations: 4 kB / 0.9833 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2009, allocations: 0 / 0.9833 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2009, allocations: 8.016 kB / 0.9833 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2022, allocations: 1.108 MB / 0.9844 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2022, allocations: 4 kB / 0.9844 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.2024, allocations: 79.88 kB / 0.9845 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2024, allocations: 4 kB / 0.9845 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.2024, allocations: 12 kB / 0.9845 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2024, allocations: 7.938 kB / 0.9845 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2024, allocations: 4 kB / 0.9845 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.2028, allocations: 0.5858 MB / 0.9851 GB, free: 348 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.2031, allocations: 175.1 kB / 0.9852 GB, free: 172 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.2032, allocations: 23.86 kB / 0.9853 GB, free: 148 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.2035, allocations: 39.97 kB / 0.9853 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.2036, allocations: 31.89 kB / 0.9853 GB, free: 76 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.2036, allocations: 15.98 kB / 0.9853 GB, free: 60 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003994/0.204, allocations: 0.5743 MB / 0.9859 GB, free: 15.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.204, allocations: 0 / 0.9859 GB, free: 15.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001234/0.2052, allocations: 0.6547 MB / 0.9865 GB, free: 14.82 MB / 0.948 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.0002932/0.2055, allocations: 185.4 kB / 0.9867 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.2062, allocations: 0.5431 MB / 0.9873 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2062, allocations: 0 / 0.9873 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.2063, allocations: 101 kB / 0.9874 GB, free: 13.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.2076, allocations: 491.6 kB / 0.9878 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.2104, allocations: 2.062 MB / 0.9898 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.2106, allocations: 263.2 kB / 0.9901 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006051/0.2112, allocations: 212.8 kB / 0.9903 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/0.2119, allocations: 433.8 kB / 0.9907 GB, free: 10.42 MB / 0.948 GB Notification: Performance of SimCode: time 1.834e-06/0.2119, allocations: 0 / 0.9907 GB, free: 10.42 MB / 0.948 GB Notification: Performance of Templates: time 0.02379/0.2357, allocations: 18.63 MB / 1.009 GB, free: 8.223 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.683508195914328]