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.001713/0.001713, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.002234/0.002234, allocations: 169 kB / 24.06 MB, free: 456 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 1.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.235/2.235, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.784e-06/1.784e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.428e-05, allocations: 5.531 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1284/0.1284, allocations: 147.2 MB / 1.023 GB, free: 2.281 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004842/0.1332, allocations: 3.254 MB / 1.026 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000935/0.1342, allocations: 43.62 kB / 1.026 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.1348, allocations: 246 kB / 1.027 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.1366, allocations: 0.9753 MB / 1.028 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.1384, allocations: 1.013 MB / 1.029 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.1407, allocations: 2.146 MB / 1.031 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.1417, allocations: 0.9302 MB / 1.032 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.1432, allocations: 1.251 MB / 1.033 GB, free: 8.391 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008875/0.1441, allocations: 0.744 MB / 1.033 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.1443, allocations: 136 kB / 1.034 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009215/0.1452, allocations: 0.577 MB / 1.034 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.1455, allocations: 422.6 kB / 1.035 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.1459, allocations: 454.9 kB / 1.035 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.1473, allocations: 1.219 MB / 1.036 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1473, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1473, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.1473, allocations: 0 / 1.036 GB, free: 4.852 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.002211/0.1496, allocations: 1.634 MB / 1.038 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1496, allocations: 8.031 kB / 1.038 GB, free: 3.164 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009289/0.1505, allocations: 351.8 kB / 1.038 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.1515, allocations: 0.8363 MB / 1.039 GB, free: 1.938 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.1515, allocations: 44.98 kB / 1.039 GB, free: 1.895 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.1516, allocations: 60 kB / 1.039 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.1521, allocations: 431.4 kB / 1.039 GB, free: 1.391 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1521, allocations: 4 kB / 1.039 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.1521, allocations: 20 kB / 1.039 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1522, allocations: 12 kB / 1.039 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.1524, allocations: 190.8 kB / 1.04 GB, free: 1.168 MB / 0.9948 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.002067/0.1545, allocations: 1.509 MB / 1.041 GB, free: 15.63 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.1548, allocations: 183.2 kB / 1.041 GB, free: 15.44 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1549, allocations: 122.8 kB / 1.041 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.1551, allocations: 31.97 kB / 1.041 GB, free: 15.29 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1551, allocations: 49.33 kB / 1.042 GB, free: 15.23 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004742/0.1556, allocations: 179.6 kB / 1.042 GB, free: 15.05 MB / 1.01 GB Notification: Performance of pre-optimization done (n=41): time 2.746e-06/0.1556, allocations: 0 / 1.042 GB, free: 15.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.0008101/0.1564, allocations: 472.1 kB / 1.042 GB, free: 14.58 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.1564, allocations: 59.41 kB / 1.042 GB, free: 14.51 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.1571, allocations: 0.8439 MB / 1.043 GB, free: 13.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.1572, allocations: 37.7 kB / 1.043 GB, free: 13.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.1575, allocations: 499.7 kB / 1.044 GB, free: 13.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.316e-05/0.1575, allocations: 146.8 kB / 1.044 GB, free: 12.96 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.1577, allocations: 123.9 kB / 1.044 GB, free: 12.83 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1578, allocations: 0.4926 MB / 1.044 GB, free: 12.33 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.158, allocations: 85.58 kB / 1.044 GB, free: 12.24 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.1585, allocations: 1.027 MB / 1.045 GB, free: 10.93 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.1588, allocations: 231.5 kB / 1.046 GB, free: 10.69 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1588, allocations: 0 / 1.046 GB, free: 10.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000521/0.1593, allocations: 380.5 kB / 1.046 GB, free: 10.31 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1593, allocations: 8 kB / 1.046 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1593, allocations: 0 / 1.046 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1593, allocations: 8.094 kB / 1.046 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.1596, allocations: 107.8 kB / 1.046 GB, free: 10.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1596, allocations: 0 / 1.046 GB, free: 10.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.1601, allocations: 63.83 kB / 1.046 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.1602, allocations: 27.95 kB / 1.046 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000267/0.1604, allocations: 206.2 kB / 1.046 GB, free: 9.895 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005886/0.161, allocations: 1.033 MB / 1.047 GB, free: 8.574 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000301/0.1613, allocations: 222.8 kB / 1.048 GB, free: 8.336 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.1613, allocations: 0 / 1.048 GB, free: 8.336 MB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0005816/0.1619, allocations: 382.1 kB / 1.048 GB, free: 7.957 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1619, allocations: 7.938 kB / 1.048 GB, free: 7.949 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.1619, allocations: 0 / 1.048 GB, free: 7.949 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.1619, allocations: 7.938 kB / 1.048 GB, free: 7.941 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.1622, allocations: 107.9 kB / 1.048 GB, free: 7.836 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1622, allocations: 4 kB / 1.048 GB, free: 7.832 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.1627, allocations: 84.41 kB / 1.048 GB, free: 7.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1627, allocations: 19.97 kB / 1.048 GB, free: 7.73 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (45): * Single equations (assignments): 45 * 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.0001684/0.1629, allocations: 304.1 kB / 1.048 GB, free: 7.426 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.163, allocations: 111.3 kB / 1.049 GB, free: 7.316 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/0.1636, allocations: 439 kB / 1.049 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1636, allocations: 8 kB / 1.049 GB, free: 6.879 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1636, allocations: 0 / 1.049 GB, free: 6.879 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1636, allocations: 3.984 kB / 1.049 GB, free: 6.875 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.165, allocations: 1.122 MB / 1.05 GB, free: 5.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.165, allocations: 4 kB / 1.05 GB, free: 5.676 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.1652, allocations: 99.83 kB / 1.05 GB, free: 5.578 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1652, allocations: 4 kB / 1.05 GB, free: 5.574 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1652, allocations: 16.27 kB / 1.05 GB, free: 5.559 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1653, allocations: 8 kB / 1.05 GB, free: 5.551 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1653, allocations: 4 kB / 1.05 GB, free: 5.547 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.1659, allocations: 0.6768 MB / 1.051 GB, free: 4.809 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.1662, allocations: 191.2 kB / 1.051 GB, free: 4.621 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.1663, allocations: 16 kB / 1.051 GB, free: 4.605 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.1666, allocations: 31.97 kB / 1.051 GB, free: 4.574 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.1667, allocations: 55.83 kB / 1.051 GB, free: 4.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1667, allocations: 12 kB / 1.051 GB, free: 4.508 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004737/0.1672, allocations: 0.5579 MB / 1.052 GB, free: 3.938 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1672, allocations: 0 / 1.052 GB, free: 3.938 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001052/0.1683, allocations: 411.3 kB / 1.052 GB, free: 3.535 MB / 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.0002996/0.1686, allocations: 163 kB / 1.052 GB, free: 3.367 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007376/0.1693, allocations: 411.8 kB / 1.053 GB, free: 2.961 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1693, allocations: 3.938 kB / 1.053 GB, free: 2.957 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.1695, allocations: 148.4 kB / 1.053 GB, free: 2.809 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.1709, allocations: 406 kB / 1.053 GB, free: 2.414 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.1732, allocations: 1.456 MB / 1.055 GB, free: 0.8789 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.1734, allocations: 196.5 kB / 1.055 GB, free: 0.668 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007384/0.1741, allocations: 182.4 kB / 1.055 GB, free: 496 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008879/0.175, allocations: 405.9 kB / 1.055 GB, free: 88 kB / 1.01 GB Notification: Performance of SimCode: time 1.022e-06/0.175, allocations: 0 / 1.055 GB, free: 88 kB / 1.01 GB Notification: Performance of Templates: time 0.4148/0.5898, allocations: 22.59 MB / 1.077 GB, free: 69.42 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.589414793998003]