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.001138/0.001138, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001025/0.001025, allocations: 169 kB / 23.27 MB, free: 1.219 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.033/1.033, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.776/2.776, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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 2.575e-06/2.575e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.251e-05/4.508e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1609/0.161, allocations: 147.2 MB / 1.033 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006857/0.1678, allocations: 3.277 MB / 1.037 GB, free: 2.754 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.1695, allocations: 39.62 kB / 1.037 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.1706, allocations: 230 kB / 1.037 GB, free: 2.488 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.1734, allocations: 0.9675 MB / 1.038 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.176, allocations: 1.025 MB / 1.039 GB, free: 500 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003765/0.1797, allocations: 2.158 MB / 1.041 GB, free: 14.32 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.1813, allocations: 0.9146 MB / 1.042 GB, free: 13.39 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.1836, allocations: 1.255 MB / 1.043 GB, free: 12.14 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.1849, allocations: 0.7479 MB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.1851, allocations: 132 kB / 1.044 GB, free: 11.26 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.1864, allocations: 0.5771 MB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.1868, allocations: 434.6 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005716/0.1874, allocations: 450.8 kB / 1.045 GB, free: 9.812 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.1895, allocations: 1.226 MB / 1.047 GB, free: 8.582 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.1895, allocations: 0 / 1.047 GB, free: 8.582 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.096e-06/0.1895, allocations: 0 / 1.047 GB, free: 8.582 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.721e-05/0.1896, allocations: 0 / 1.047 GB, free: 8.582 MB / 1.01 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.003443/0.193, allocations: 1.627 MB / 1.048 GB, free: 6.914 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.1931, allocations: 12.03 kB / 1.048 GB, free: 6.902 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.1941, allocations: 335.8 kB / 1.048 GB, free: 6.574 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.1954, allocations: 0.8441 MB / 1.049 GB, free: 5.684 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.1955, allocations: 41 kB / 1.049 GB, free: 5.645 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.351e-05/0.1956, allocations: 56 kB / 1.049 GB, free: 5.59 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.1962, allocations: 439.3 kB / 1.05 GB, free: 5.137 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1962, allocations: 0 / 1.05 GB, free: 5.137 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.1963, allocations: 20 kB / 1.05 GB, free: 5.117 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.1963, allocations: 12 kB / 1.05 GB, free: 5.105 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.1966, allocations: 190.8 kB / 1.05 GB, free: 4.918 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.002491/0.1991, allocations: 1.509 MB / 1.051 GB, free: 3.379 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1994, allocations: 189.4 kB / 1.052 GB, free: 3.184 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1995, allocations: 119.7 kB / 1.052 GB, free: 3.062 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.1997, allocations: 35.92 kB / 1.052 GB, free: 3.027 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.1997, allocations: 49.31 kB / 1.052 GB, free: 2.969 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005241/0.2002, allocations: 183.6 kB / 1.052 GB, free: 2.789 MB / 1.01 GB Notification: Performance of pre-optimization done (n=41): time 4.017e-06/0.2003, allocations: 0 / 1.052 GB, free: 2.789 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.001018/0.2013, allocations: 465.4 kB / 1.052 GB, free: 2.328 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.2013, allocations: 59.41 kB / 1.053 GB, free: 2.258 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008262/0.2021, allocations: 0.8518 MB / 1.053 GB, free: 1.379 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.2022, allocations: 37.7 kB / 1.053 GB, free: 1.336 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.2025, allocations: 495.7 kB / 1.054 GB, free: 0.8438 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2027, allocations: 154.7 kB / 1.054 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.2028, allocations: 123.9 kB / 1.054 GB, free: 0.5625 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.203, allocations: 496.4 kB / 1.055 GB, free: 72 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6117/0.8147, allocations: 72.52 kB / 1.055 GB, free: 60.41 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.8153, allocations: 1.03 MB / 1.056 GB, free: 59.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.8157, allocations: 230 kB / 1.056 GB, free: 59.18 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.8157, allocations: 0 / 1.056 GB, free: 59.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008555/0.8165, allocations: 382.3 kB / 1.056 GB, free: 59.14 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.8166, allocations: 5.469 kB / 1.056 GB, free: 59.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.8166, allocations: 2.75 kB / 1.056 GB, free: 59.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.8166, allocations: 8.188 kB / 1.056 GB, free: 59.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.8169, allocations: 100.9 kB / 1.056 GB, free: 59.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.8169, allocations: 2.5 kB / 1.056 GB, free: 59.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.8175, allocations: 57.25 kB / 1.056 GB, free: 59.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.8176, allocations: 22.89 kB / 1.056 GB, free: 59.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003093/0.8179, allocations: 207.3 kB / 1.057 GB, free: 59.01 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003592/0.8182, allocations: 1.025 MB / 1.058 GB, free: 57.83 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002703/0.8185, allocations: 230.8 kB / 1.058 GB, free: 57.77 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.8185, allocations: 0 / 1.058 GB, free: 57.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0005387/0.819, allocations: 385.3 kB / 1.058 GB, free: 57.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.819, allocations: 6.062 kB / 1.058 GB, free: 57.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.819, allocations: 3.688 kB / 1.058 GB, free: 57.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.8191, allocations: 4.984 kB / 1.058 GB, free: 57.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.8193, allocations: 107.5 kB / 1.058 GB, free: 57.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8193, allocations: 6.531 kB / 1.058 GB, free: 57.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.8198, allocations: 86.59 kB / 1.058 GB, free: 57.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.8199, allocations: 21.41 kB / 1.058 GB, free: 57.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.0001809/0.82, allocations: 298.5 kB / 1.059 GB, free: 57.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.8202, allocations: 107.8 kB / 1.059 GB, free: 57.45 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.8208, allocations: 451.1 kB / 1.059 GB, free: 57.39 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.8208, allocations: 9.625 kB / 1.059 GB, free: 57.39 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.8208, allocations: 1.75 kB / 1.059 GB, free: 57.39 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8208, allocations: 3.094 kB / 1.059 GB, free: 57.39 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.8222, allocations: 1.119 MB / 1.06 GB, free: 57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8222, allocations: 3.031 kB / 1.06 GB, free: 57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.8225, allocations: 101.1 kB / 1.061 GB, free: 57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.8225, allocations: 6.172 kB / 1.061 GB, free: 57 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.8225, allocations: 15.81 kB / 1.061 GB, free: 57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.8225, allocations: 5.875 kB / 1.061 GB, free: 57 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8225, allocations: 2.719 kB / 1.061 GB, free: 57 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/0.8232, allocations: 0.6815 MB / 1.061 GB, free: 56.64 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.8235, allocations: 183.7 kB / 1.061 GB, free: 56.58 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.8235, allocations: 13.09 kB / 1.061 GB, free: 56.58 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.8239, allocations: 39.16 kB / 1.061 GB, free: 56.58 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.824, allocations: 45.75 kB / 1.061 GB, free: 56.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.824, allocations: 18.31 kB / 1.061 GB, free: 56.58 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004315/0.8244, allocations: 0.553 MB / 1.062 GB, free: 56.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.8244, allocations: 0 / 1.062 GB, free: 56.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008191/0.8252, allocations: 414.2 kB / 1.062 GB, free: 56.4 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.0003111/0.8255, allocations: 168.6 kB / 1.063 GB, free: 56.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000592/0.8261, allocations: 404.9 kB / 1.063 GB, free: 56.28 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8261, allocations: 0.9375 kB / 1.063 GB, free: 56.28 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.8263, allocations: 159.2 kB / 1.063 GB, free: 56.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.8274, allocations: 398.7 kB / 1.064 GB, free: 56.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.8294, allocations: 1.464 MB / 1.065 GB, free: 55.47 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.8295, allocations: 196 kB / 1.065 GB, free: 55.39 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006795/0.8302, allocations: 183.4 kB / 1.065 GB, free: 55.38 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006949/0.8309, allocations: 407.4 kB / 1.066 GB, free: 55.31 MB / 1.01 GB Notification: Performance of SimCode: time 1.643e-06/0.8309, allocations: 0 / 1.066 GB, free: 55.31 MB / 1.01 GB Notification: Performance of Templates: time 0.03728/0.8682, allocations: 22.21 MB / 1.087 GB, free: 53.54 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: 7.647305595688522]