Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.001311/0.001311, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001118/0.001118, allocations: 165 kB / 23.02 MB, free: 1.551 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.9692/0.9692, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.196/2.196, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.693e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1519/0.1519, allocations: 150 MB / 1.025 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005038/0.157, allocations: 3.273 MB / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007637/0.1577, allocations: 39.62 kB / 1.028 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.1584, allocations: 238 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.1602, allocations: 0.9714 MB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.1621, allocations: 1.017 MB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002322/0.1644, allocations: 2.162 MB / 1.032 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009884/0.1654, allocations: 0.9107 MB / 1.033 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.1666, allocations: 1.154 MB / 1.034 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007477/0.1673, allocations: 0.7518 MB / 1.035 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.1675, allocations: 140 kB / 1.035 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.1685, allocations: 0.6314 MB / 1.036 GB, free: 4.461 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.1688, allocations: 430.6 kB / 1.036 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003844/0.1692, allocations: 462.9 kB / 1.037 GB, free: 3.586 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.1705, allocations: 1.246 MB / 1.038 GB, free: 2.336 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1705, allocations: 0 / 1.038 GB, free: 2.336 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1705, allocations: 0 / 1.038 GB, free: 2.336 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.1705, allocations: 0 / 1.038 GB, free: 2.336 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002326/0.1729, allocations: 1.654 MB / 1.039 GB, free: 0.6367 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1729, allocations: 8.031 kB / 1.039 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.1739, allocations: 371.8 kB / 1.04 GB, free: 272 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.1751, allocations: 0.8897 MB / 1.041 GB, free: 15.33 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.1751, allocations: 41 kB / 1.041 GB, free: 15.29 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.954e-05/0.1752, allocations: 60 kB / 1.041 GB, free: 15.23 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.1758, allocations: 471.4 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1758, allocations: 0 / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.1759, allocations: 24 kB / 1.041 GB, free: 14.73 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1759, allocations: 11.98 kB / 1.041 GB, free: 14.71 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.1763, allocations: 237.8 kB / 1.041 GB, free: 14.48 MB / 1.01 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.002244/0.1785, allocations: 1.658 MB / 1.043 GB, free: 12.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.1789, allocations: 215.1 kB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.1791, allocations: 139.4 kB / 1.043 GB, free: 12.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.1793, allocations: 35.91 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.1793, allocations: 49.33 kB / 1.043 GB, free: 12.33 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004695/0.1798, allocations: 175.7 kB / 1.044 GB, free: 12.16 MB / 1.01 GB Notification: Performance of pre-optimization done (n=41): time 2.585e-06/0.1798, allocations: 0 / 1.044 GB, free: 12.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.0009537/0.1808, allocations: 0.5079 MB / 1.044 GB, free: 11.64 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1808, allocations: 59.34 kB / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.1817, allocations: 0.9061 MB / 1.045 GB, free: 10.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.1817, allocations: 37.7 kB / 1.045 GB, free: 10.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.182, allocations: 483.9 kB / 1.046 GB, free: 10.12 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.1821, allocations: 154.8 kB / 1.046 GB, free: 9.965 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.1823, allocations: 111.5 kB / 1.046 GB, free: 9.848 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1825, allocations: 0.4965 MB / 1.046 GB, free: 9.344 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1826, allocations: 88.03 kB / 1.046 GB, free: 9.254 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.1831, allocations: 1.015 MB / 1.047 GB, free: 7.969 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.1835, allocations: 227.9 kB / 1.048 GB, free: 7.742 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1835, allocations: 0 / 1.048 GB, free: 7.742 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005874/0.1841, allocations: 400.6 kB / 1.048 GB, free: 7.344 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.1841, allocations: 8 kB / 1.048 GB, free: 7.336 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1841, allocations: 0 / 1.048 GB, free: 7.336 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.1841, allocations: 4 kB / 1.048 GB, free: 7.332 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.1845, allocations: 99.84 kB / 1.048 GB, free: 7.234 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1845, allocations: 3.984 kB / 1.048 GB, free: 7.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.1849, allocations: 59.88 kB / 1.048 GB, free: 7.172 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.185, allocations: 31.97 kB / 1.048 GB, free: 7.141 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002681/0.1852, allocations: 214.8 kB / 1.048 GB, free: 6.926 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005049/0.1857, allocations: 1.026 MB / 1.049 GB, free: 5.625 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003363/0.1861, allocations: 223.7 kB / 1.05 GB, free: 5.398 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.1861, allocations: 3.984 kB / 1.05 GB, free: 5.395 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0005645/0.1866, allocations: 402.1 kB / 1.05 GB, free: 4.996 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1867, allocations: 11.98 kB / 1.05 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1867, allocations: 0 / 1.05 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.1867, allocations: 0 / 1.05 GB, free: 4.984 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.1869, allocations: 103.8 kB / 1.05 GB, free: 4.883 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1869, allocations: 4 kB / 1.05 GB, free: 4.879 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.1874, allocations: 72.44 kB / 1.05 GB, free: 4.809 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.1874, allocations: 23.97 kB / 1.05 GB, free: 4.785 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (42): * Single equations (assignments): 42 * 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.0001615/0.1876, allocations: 288.2 kB / 1.05 GB, free: 4.496 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.1877, allocations: 123.3 kB / 1.051 GB, free: 4.375 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.1884, allocations: 486.9 kB / 1.051 GB, free: 3.898 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1884, allocations: 8 kB / 1.051 GB, free: 3.891 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1884, allocations: 0 / 1.051 GB, free: 3.891 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1884, allocations: 3.984 kB / 1.051 GB, free: 3.887 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.1901, allocations: 1.301 MB / 1.052 GB, free: 2.504 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1901, allocations: 0 / 1.052 GB, free: 2.504 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.1903, allocations: 99.83 kB / 1.052 GB, free: 2.406 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1904, allocations: 4 kB / 1.052 GB, free: 2.402 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.1904, allocations: 11.98 kB / 1.052 GB, free: 2.391 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.1904, allocations: 8.281 kB / 1.052 GB, free: 2.383 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1904, allocations: 11.94 kB / 1.052 GB, free: 2.371 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.1912, allocations: 0.7413 MB / 1.053 GB, free: 1.574 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.1915, allocations: 187.2 kB / 1.053 GB, free: 1.391 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.1915, allocations: 12 kB / 1.053 GB, free: 1.379 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.1919, allocations: 35.97 kB / 1.053 GB, free: 1.344 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.192, allocations: 47.8 kB / 1.053 GB, free: 1.297 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.192, allocations: 20.03 kB / 1.053 GB, free: 1.277 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006091/0.1926, allocations: 0.6242 MB / 1.054 GB, free: 0.6406 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1926, allocations: 0 / 1.054 GB, free: 0.6406 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008162/0.1934, allocations: 419.2 kB / 1.054 GB, free: 236 kB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.y) * 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 (50): * Single equations (assignments): 50 * 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.0002808/0.1937, allocations: 159 kB / 1.055 GB, free: 64 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.4486/0.6424, allocations: 449 kB / 1.055 GB, free: 78.98 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.6424, allocations: 2.406 kB / 1.055 GB, free: 78.98 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.6426, allocations: 164.3 kB / 1.055 GB, free: 78.97 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.644, allocations: 411 kB / 1.056 GB, free: 78.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.646, allocations: 1.469 MB / 1.057 GB, free: 78.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.6461, allocations: 194 kB / 1.057 GB, free: 78.13 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006339/0.6467, allocations: 238.4 kB / 1.057 GB, free: 78.12 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.647, allocations: 94.25 kB / 1.058 GB, free: 78.12 MB / 1.01 GB Notification: Performance of SimCode: time 2.335e-06/0.647, allocations: 4.375 kB / 1.058 GB, free: 78.12 MB / 1.01 GB Notification: Performance of Templates: time 0.02509/0.6721, allocations: 20.9 MB / 1.078 GB, free: 76.48 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.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: 6.519945864100009]