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.001103/0.001103, 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.001462/0.001462, allocations: 185.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.9329/0.9329, allocations: 177.1 MB / 204.5 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.715/1.715, allocations: 359 MB / 0.6055 GB, free: 10.88 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.214e-06/2.214e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.761e-05, allocations: 7.25 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1275/0.1275, allocations: 152.3 MB / 0.9362 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.1382, allocations: 9.986 MB / 0.946 GB, free: 9.426 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.1392, allocations: 87.25 kB / 0.9461 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.1401, allocations: 432.6 kB / 0.9465 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.1424, allocations: 1.651 MB / 0.9481 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.1445, allocations: 1.475 MB / 0.9495 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002403/0.1469, allocations: 3.435 MB / 0.9529 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000974/0.1479, allocations: 1.031 MB / 0.9539 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.1502, allocations: 2.141 MB / 0.956 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007656/0.151, allocations: 0.8839 MB / 0.9569 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.1511, allocations: 116 kB / 0.957 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.1523, allocations: 1.134 MB / 0.9581 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.1526, allocations: 0.5138 MB / 0.9586 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.153, allocations: 0.5299 MB / 0.9591 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.1545, allocations: 1.744 MB / 0.9608 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1545, allocations: 0 / 0.9608 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1545, allocations: 4 kB / 0.9608 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.1546, allocations: 0 / 0.9608 GB, free: 10.29 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.001882/0.1564, allocations: 2.004 MB / 0.9628 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1565, allocations: 12.03 kB / 0.9628 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.1576, allocations: 0.5488 MB / 0.9633 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.1586, allocations: 1.115 MB / 0.9644 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.1587, allocations: 74 kB / 0.9645 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/0.1588, allocations: 100 kB / 0.9646 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.1597, allocations: 1.127 MB / 0.9657 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1598, allocations: 3.938 kB / 0.9657 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.1598, allocations: 40 kB / 0.9657 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.1599, allocations: 49.98 kB / 0.9658 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.1603, allocations: 385.2 kB / 0.9661 GB, free: 4.555 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.00411/0.1644, allocations: 7.33 MB / 0.9733 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.1648, allocations: 192.3 kB / 0.9735 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.1648, allocations: 75.62 kB / 0.9735 GB, free: 12.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.1649, allocations: 35.97 kB / 0.9736 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.165, allocations: 45.31 kB / 0.9736 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.165, allocations: 0 / 0.9736 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=32): time 0.0005688/0.1655, allocations: 369.5 kB / 0.974 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.1656, allocations: 59.41 kB / 0.974 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008196/0.1664, allocations: 1.027 MB / 0.975 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.1664, allocations: 37.7 kB / 0.9751 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.1668, allocations: 0.8105 MB / 0.9758 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.1669, allocations: 123 kB / 0.976 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.167, allocations: 176.1 kB / 0.9761 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1671, allocations: 0.5043 MB / 0.9766 GB, free: 9.457 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1672, allocations: 83.62 kB / 0.9767 GB, free: 9.371 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.1676, allocations: 0.8299 MB / 0.9775 GB, free: 8.25 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.1681, allocations: 0.673 MB / 0.9782 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.1681, allocations: 4 kB / 0.9782 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006068/0.1687, allocations: 0.6037 MB / 0.9788 GB, free: 6.746 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1687, allocations: 16.88 kB / 0.9788 GB, free: 6.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.1687, allocations: 12 kB / 0.9788 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1687, allocations: 16 kB / 0.9788 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.1691, allocations: 183.7 kB / 0.979 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1691, allocations: 19.94 kB / 0.979 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.1695, allocations: 131.2 kB / 0.9791 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.1695, allocations: 35.98 kB / 0.9792 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002187/0.1698, allocations: 212.8 kB / 0.9794 GB, free: 6.129 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003666/0.1701, allocations: 0.8257 MB / 0.9802 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004278/0.1706, allocations: 0.6749 MB / 0.9808 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.1706, allocations: 4 kB / 0.9808 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0005777/0.1711, allocations: 0.6103 MB / 0.9814 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.1711, allocations: 8 kB / 0.9814 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1712, allocations: 12 kB / 0.9815 GB, free: 3.477 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1712, allocations: 16 kB / 0.9815 GB, free: 3.461 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1715, allocations: 183.7 kB / 0.9816 GB, free: 3.281 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1715, allocations: 19.94 kB / 0.9817 GB, free: 3.262 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.1719, allocations: 103.7 kB / 0.9818 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.1719, allocations: 39.92 kB / 0.9818 GB, free: 3.121 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.0001343/0.1721, allocations: 323.7 kB / 0.9821 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1722, allocations: 135.2 kB / 0.9822 GB, free: 2.664 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.1726, allocations: 326.2 kB / 0.9825 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1726, allocations: 4 kB / 0.9825 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1726, allocations: 4 kB / 0.9826 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1726, allocations: 7.922 kB / 0.9826 GB, free: 2.32 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1737, allocations: 1.11 MB / 0.9836 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1737, allocations: 4 kB / 0.9836 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.1738, allocations: 75.88 kB / 0.9837 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1739, allocations: 8 kB / 0.9837 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.1739, allocations: 12 kB / 0.9837 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1739, allocations: 4 kB / 0.9837 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1739, allocations: 8.125 kB / 0.9838 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.1743, allocations: 0.5834 MB / 0.9843 GB, free: 352 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.1745, allocations: 175.2 kB / 0.9845 GB, free: 176 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.1746, allocations: 23.86 kB / 0.9845 GB, free: 152 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.1749, allocations: 39.97 kB / 0.9845 GB, free: 112 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1749, allocations: 39.83 kB / 0.9846 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.175, allocations: 15.98 kB / 0.9846 GB, free: 56 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003815/0.1753, allocations: 0.5743 MB / 0.9852 GB, free: 15.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1753, allocations: 0 / 0.9852 GB, free: 15.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001001/0.1764, allocations: 0.6508 MB / 0.9858 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.0002715/0.1766, allocations: 182.9 kB / 0.986 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006186/0.1772, allocations: 0.5392 MB / 0.9865 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1772, allocations: 4 kB / 0.9865 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1774, allocations: 100.9 kB / 0.9866 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.001165/0.1785, allocations: 497.2 kB / 0.9871 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.1809, allocations: 2.056 MB / 0.9891 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.1811, allocations: 255.2 kB / 0.9893 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004972/0.1816, allocations: 216.8 kB / 0.9895 GB, free: 10.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/0.1822, allocations: 441.8 kB / 0.99 GB, free: 10.42 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/0.1822, allocations: 0 / 0.99 GB, free: 10.42 MB / 0.948 GB Notification: Performance of Templates: time 0.01949/0.2017, allocations: 18.37 MB / 1.008 GB, free: 8.457 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.2248225482180715]