Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 252 MB / 266.9 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 175.9 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009475/0.0009477, allocations: 99.91 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003659, allocations: 11.06 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2333, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.739/5.973, allocations: 2.202 GB / 3.102 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/5.973, allocations: 96.22 kB / 3.102 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.697/7.67, allocations: 0.5865 GB / 3.688 GB, free: 64.15 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.926e-06/7.67, allocations: 0 / 3.688 GB, free: 64.15 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002106/7.67, allocations: 27.98 kB / 3.688 GB, free: 64.12 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.006127/7.676, allocations: 1.713 MB / 3.69 GB, free: 62.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/7.676, allocations: 12.03 kB / 3.69 GB, free: 62.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/7.679, allocations: 242.3 kB / 3.69 GB, free: 62.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/7.682, allocations: 1.071 MB / 3.691 GB, free: 60.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/7.682, allocations: 49 kB / 3.691 GB, free: 60.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/7.683, allocations: 60 kB / 3.691 GB, free: 60.87 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/7.684, allocations: 0.7074 MB / 3.692 GB, free: 60.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/7.684, allocations: 0 / 3.692 GB, free: 60.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/7.684, allocations: 24 kB / 3.692 GB, free: 60.11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/7.684, allocations: 15.95 kB / 3.692 GB, free: 60.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/7.685, allocations: 0.6558 MB / 3.693 GB, free: 59.45 MB / 0.8855 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.005035/7.69, allocations: 2.729 MB / 3.695 GB, free: 56.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/7.692, allocations: 0.585 MB / 3.696 GB, free: 55.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003851/7.692, allocations: 287.3 kB / 3.696 GB, free: 55.64 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/7.692, allocations: 46.55 kB / 3.696 GB, free: 55.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001154/7.693, allocations: 223.5 kB / 3.696 GB, free: 55.37 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 5.1e-06/7.693, allocations: 0 / 3.696 GB, free: 55.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43): time 0.002377/7.696, allocations: 1.056 MB / 3.697 GB, free: 54.31 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/7.696, allocations: 140.5 kB / 3.698 GB, free: 54.14 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/7.698, allocations: 1.137 MB / 3.699 GB, free: 52.99 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/7.698, allocations: 41.7 kB / 3.699 GB, free: 52.94 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/7.698, allocations: 451.3 kB / 3.699 GB, free: 52.49 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/7.698, allocations: 145.8 kB / 3.699 GB, free: 52.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/7.698, allocations: 8 kB / 3.699 GB, free: 52.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/7.698, allocations: 326 kB / 3.7 GB, free: 52.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/7.699, allocations: 284.7 kB / 3.7 GB, free: 51.74 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/7.699, allocations: 0.5268 MB / 3.7 GB, free: 51.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/7.7, allocations: 346.6 kB / 3.701 GB, free: 50.78 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/7.7, allocations: 0 / 3.701 GB, free: 50.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001467/7.702, allocations: 0.7876 MB / 3.702 GB, free: 49.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/7.702, allocations: 107.3 kB / 3.702 GB, free: 49.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/7.702, allocations: 4 kB / 3.702 GB, free: 49.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/7.702, allocations: 0 / 3.702 GB, free: 49.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/7.702, allocations: 119.8 kB / 3.702 GB, free: 49.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/7.702, allocations: 12.08 kB / 3.702 GB, free: 49.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/7.704, allocations: 123.7 kB / 3.702 GB, free: 49.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/7.704, allocations: 31.97 kB / 3.702 GB, free: 49.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/7.704, allocations: 4 kB / 3.702 GB, free: 49.58 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/7.705, allocations: 0.6622 MB / 3.703 GB, free: 48.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/7.705, allocations: 8 kB / 3.703 GB, free: 48.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/7.705, allocations: 0 / 3.703 GB, free: 48.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/7.706, allocations: 119.8 kB / 3.703 GB, free: 48.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/7.706, allocations: 4 kB / 3.703 GB, free: 48.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/7.707, allocations: 119.8 kB / 3.703 GB, free: 48.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/7.707, allocations: 31.95 kB / 3.703 GB, free: 48.64 MB / 0.8855 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005147/7.708, allocations: 341.2 kB / 3.703 GB, free: 48.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/7.708, allocations: 98.78 kB / 3.703 GB, free: 48.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/7.71, allocations: 0.8462 MB / 3.704 GB, free: 47.35 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/7.71, allocations: 4 kB / 3.704 GB, free: 47.35 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/7.71, allocations: 0 / 3.704 GB, free: 47.35 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/7.71, allocations: 7.984 kB / 3.704 GB, free: 47.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/7.713, allocations: 1.988 MB / 3.706 GB, free: 45.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/7.713, allocations: 4 kB / 3.706 GB, free: 45.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/7.713, allocations: 116.1 kB / 3.706 GB, free: 45.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/7.713, allocations: 11.95 kB / 3.706 GB, free: 45.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/7.713, allocations: 16 kB / 3.706 GB, free: 45.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/7.713, allocations: 7.984 kB / 3.706 GB, free: 45.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/7.713, allocations: 4 kB / 3.706 GB, free: 45.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/7.715, allocations: 1.385 MB / 3.708 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/7.716, allocations: 319.4 kB / 3.708 GB, free: 43.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/7.716, allocations: 12 kB / 3.708 GB, free: 43.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/7.717, allocations: 83.95 kB / 3.708 GB, free: 43.21 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/7.717, allocations: 51.84 kB / 3.708 GB, free: 43.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/7.718, allocations: 23.98 kB / 3.708 GB, free: 43.14 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00136/7.719, allocations: 0.8901 MB / 3.709 GB, free: 42.24 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/7.719, allocations: 4 kB / 3.709 GB, free: 42.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002232/7.721, allocations: 0.5931 MB / 3.709 GB, free: 41.64 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00287/7.724, allocations: 1.672 MB / 3.711 GB, free: 39.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002102/7.726, allocations: 1.058 MB / 3.712 GB, free: 38.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/7.726, allocations: 0 / 3.712 GB, free: 38.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/7.727, allocations: 348.1 kB / 3.712 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/7.729, allocations: 473.6 kB / 3.713 GB, free: 38.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/7.733, allocations: 1.958 MB / 3.715 GB, free: 36.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/7.734, allocations: 1.077 MB / 3.716 GB, free: 34.91 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00158/7.735, allocations: 291.2 kB / 3.716 GB, free: 34.62 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/7.736, allocations: 103.4 kB / 3.716 GB, free: 34.52 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/7.736, allocations: 0 / 3.716 GB, free: 34.52 MB / 0.8855 GB Notification: Performance of Templates: time 0.6017/8.337, allocations: 39.82 MB / 3.755 GB, free: 176.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches