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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009106, allocations: 103.5 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.832e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3567, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.741/6.098, allocations: 1.916 GB / 3.135 GB, free: 398.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/6.099, allocations: 88.53 kB / 3.135 GB, free: 398.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.982/8.08, allocations: 0.6114 GB / 3.747 GB, free: 225.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.224e-06/8.08, allocations: 4 kB / 3.747 GB, free: 225.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001862/8.081, allocations: 27.94 kB / 3.747 GB, free: 225.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004424/8.085, allocations: 1.274 MB / 3.748 GB, free: 224.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/8.085, allocations: 12.03 kB / 3.748 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/8.088, allocations: 234.4 kB / 3.748 GB, free: 223.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/8.091, allocations: 0.9998 MB / 3.749 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.31e-05/8.091, allocations: 49 kB / 3.749 GB, free: 222.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/8.091, allocations: 63.91 kB / 3.749 GB, free: 222.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/8.092, allocations: 0.5726 MB / 3.75 GB, free: 222.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/8.092, allocations: 0 / 3.75 GB, free: 222.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/8.092, allocations: 20 kB / 3.75 GB, free: 222.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/8.092, allocations: 17 kB / 3.75 GB, free: 222.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/8.093, allocations: 0.5545 MB / 3.75 GB, free: 221.6 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.004567/8.098, allocations: 2.74 MB / 3.753 GB, free: 218.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/8.098, allocations: 0.523 MB / 3.754 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/8.099, allocations: 316.7 kB / 3.754 GB, free: 217.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/8.099, allocations: 292 kB / 3.754 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/8.099, allocations: 38.56 kB / 3.754 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/8.1, allocations: 223.4 kB / 3.754 GB, free: 217.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 5.721e-06/8.1, allocations: 0 / 3.754 GB, free: 217.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.001516/8.102, allocations: 0.6914 MB / 3.755 GB, free: 216.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/8.102, allocations: 55.41 kB / 3.755 GB, free: 216.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/8.103, allocations: 1.083 MB / 3.756 GB, free: 215.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/8.103, allocations: 41.7 kB / 3.756 GB, free: 215.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/8.104, allocations: 442.5 kB / 3.757 GB, free: 214.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/8.104, allocations: 153.8 kB / 3.757 GB, free: 214.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/8.104, allocations: 4 kB / 3.757 GB, free: 214.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/8.104, allocations: 329.9 kB / 3.757 GB, free: 214.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/8.104, allocations: 228.6 kB / 3.757 GB, free: 214.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/8.105, allocations: 454.2 kB / 3.758 GB, free: 213.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/8.105, allocations: 290.4 kB / 3.758 GB, free: 213.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/8.105, allocations: 0 / 3.758 GB, free: 213.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001011/8.106, allocations: 0.6606 MB / 3.759 GB, free: 212.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/8.106, allocations: 99.11 kB / 3.759 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/8.106, allocations: 0 / 3.759 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/8.106, allocations: 4 kB / 3.759 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/8.107, allocations: 135.8 kB / 3.759 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/8.107, allocations: 8.062 kB / 3.759 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/8.108, allocations: 119.8 kB / 3.759 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/8.108, allocations: 31.97 kB / 3.759 GB, free: 212.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/8.108, allocations: 4 kB / 3.759 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007812/8.109, allocations: 0.5425 MB / 3.76 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/8.109, allocations: 3.984 kB / 3.76 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/8.109, allocations: 0 / 3.76 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/8.11, allocations: 139.8 kB / 3.76 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/8.11, allocations: 0 / 3.76 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/8.111, allocations: 123.7 kB / 3.76 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/8.111, allocations: 27.97 kB / 3.76 GB, free: 211.5 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.000154/8.111, allocations: 128.9 kB / 3.76 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/8.111, allocations: 106.6 kB / 3.76 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/8.113, allocations: 0.756 MB / 3.761 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/8.113, allocations: 4 kB / 3.761 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/8.113, allocations: 0 / 3.761 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/8.113, allocations: 0 / 3.761 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/8.115, allocations: 1.905 MB / 3.763 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/8.115, allocations: 4 kB / 3.763 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/8.116, allocations: 120.1 kB / 3.763 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/8.116, allocations: 8 kB / 3.763 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/8.116, allocations: 19.98 kB / 3.763 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/8.116, allocations: 7.938 kB / 3.763 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/8.116, allocations: 0 / 3.763 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/8.117, allocations: 1.255 MB / 3.764 GB, free: 207 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/8.117, allocations: 307.6 kB / 3.764 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/8.118, allocations: 12 kB / 3.764 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/8.119, allocations: 95.8 kB / 3.764 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/8.119, allocations: 35.95 kB / 3.764 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/8.119, allocations: 23.98 kB / 3.764 GB, free: 206.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001073/8.12, allocations: 0.8553 MB / 3.765 GB, free: 205.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.92e-07/8.12, allocations: 0 / 3.765 GB, free: 205.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001783/8.122, allocations: 0.5658 MB / 3.766 GB, free: 205.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.002193/8.124, allocations: 1.617 MB / 3.767 GB, free: 203.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001283/8.125, allocations: 0.8566 MB / 3.768 GB, free: 202.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/8.125, allocations: 4 kB / 3.768 GB, free: 202.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003923/8.126, allocations: 287.7 kB / 3.769 GB, free: 202.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/8.128, allocations: 462.2 kB / 3.769 GB, free: 201.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/8.13, allocations: 1.274 MB / 3.77 GB, free: 200.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/8.131, allocations: 1.067 MB / 3.771 GB, free: 199.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001816/8.132, allocations: 418.7 kB / 3.772 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/8.133, allocations: 71.41 kB / 3.772 GB, free: 198.9 MB / 1.167 GB Notification: Performance of SimCode: time 7.11e-07/8.133, allocations: 0 / 3.772 GB, free: 198.9 MB / 1.167 GB Notification: Performance of Templates: time 0.05642/8.189, allocations: 44.4 MB / 3.815 GB, free: 154.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches