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.261/2.261, allocations: 390.5 MB / 398 MB, free: 10.96 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.001574/0.001574, allocations: 182.3 kB / 491.2 MB, free: 1.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.00119/0.00119, allocations: 93.7 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.636e-05/1.648e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3149, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.523/5.838, allocations: 1.916 GB / 3.128 GB, free: 414.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/5.839, allocations: 94.56 kB / 3.128 GB, free: 414.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.057/7.896, allocations: 0.6044 GB / 3.733 GB, free: 233.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/7.896, allocations: 0 / 3.733 GB, free: 233.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000178/7.896, allocations: 24 kB / 3.733 GB, free: 233.3 MB / 1.151 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.003797/7.9, allocations: 1.277 MB / 3.734 GB, free: 232 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/7.9, allocations: 8.031 kB / 3.734 GB, free: 232 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/7.903, allocations: 238.4 kB / 3.734 GB, free: 231.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/7.906, allocations: 1.007 MB / 3.735 GB, free: 230.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/7.906, allocations: 16 kB / 3.735 GB, free: 230.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/7.906, allocations: 43.98 kB / 3.735 GB, free: 230.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001022/7.907, allocations: 0.5336 MB / 3.736 GB, free: 230.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/7.908, allocations: 0.5115 MB / 3.736 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/7.908, allocations: 4 kB / 3.736 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/7.908, allocations: 0 / 3.736 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/7.908, allocations: 17.31 kB / 3.736 GB, free: 229.6 MB / 1.151 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.004791/7.913, allocations: 2.609 MB / 3.739 GB, free: 226.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/7.914, allocations: 0.5103 MB / 3.739 GB, free: 226.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/7.914, allocations: 305.8 kB / 3.739 GB, free: 226 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/7.914, allocations: 296.8 kB / 3.74 GB, free: 225.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/7.914, allocations: 42.5 kB / 3.74 GB, free: 225.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001115/7.916, allocations: 198.8 kB / 3.74 GB, free: 225.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 4.789e-06/7.916, allocations: 0 / 3.74 GB, free: 225.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001623/7.917, allocations: 0.6687 MB / 3.741 GB, free: 224.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/7.917, allocations: 59.34 kB / 3.741 GB, free: 224.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/7.919, allocations: 0.9569 MB / 3.742 GB, free: 223.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.244e-05/7.919, allocations: 25.7 kB / 3.742 GB, free: 223.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/7.919, allocations: 441.6 kB / 3.742 GB, free: 223.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/7.919, allocations: 153.8 kB / 3.742 GB, free: 223.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/7.919, allocations: 0 / 3.742 GB, free: 223.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/7.92, allocations: 318 kB / 3.742 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/7.92, allocations: 228.6 kB / 3.743 GB, free: 222.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/7.92, allocations: 441.8 kB / 3.743 GB, free: 222.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/7.921, allocations: 279.4 kB / 3.743 GB, free: 221.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/7.921, allocations: 0 / 3.743 GB, free: 221.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00108/7.922, allocations: 0.6483 MB / 3.744 GB, free: 221.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/7.922, allocations: 102.6 kB / 3.744 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/7.922, allocations: 3.984 kB / 3.744 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/7.922, allocations: 8.094 kB / 3.744 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/7.923, allocations: 127.8 kB / 3.744 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/7.923, allocations: 3.984 kB / 3.744 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/7.924, allocations: 115.8 kB / 3.744 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/7.924, allocations: 27.97 kB / 3.744 GB, free: 220.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/7.924, allocations: 4 kB / 3.744 GB, free: 220.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007341/7.925, allocations: 0.5072 MB / 3.745 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/7.925, allocations: 0 / 3.745 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.002e-06/7.925, allocations: 8 kB / 3.745 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/7.925, allocations: 131.8 kB / 3.745 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/7.925, allocations: 3.938 kB / 3.745 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/7.927, allocations: 111.8 kB / 3.745 GB, free: 220 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/7.927, allocations: 27.97 kB / 3.745 GB, free: 220 MB / 1.151 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.0001684/7.927, allocations: 108.9 kB / 3.745 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/7.927, allocations: 94.78 kB / 3.745 GB, free: 219.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/7.929, allocations: 0.7164 MB / 3.746 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/7.929, allocations: 4 kB / 3.746 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/7.929, allocations: 4 kB / 3.746 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/7.929, allocations: 3.984 kB / 3.746 GB, free: 219 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/7.931, allocations: 1.795 MB / 3.748 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/7.931, allocations: 4 kB / 3.748 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/7.932, allocations: 116.1 kB / 3.748 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/7.932, allocations: 4 kB / 3.748 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/7.932, allocations: 15.98 kB / 3.748 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/7.932, allocations: 4 kB / 3.748 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/7.932, allocations: 7.875 kB / 3.748 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/7.933, allocations: 1.199 MB / 3.749 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/7.934, allocations: 291.7 kB / 3.749 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/7.934, allocations: 12 kB / 3.749 GB, free: 215.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/7.935, allocations: 87.7 kB / 3.75 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/7.935, allocations: 43.94 kB / 3.75 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/7.935, allocations: 23.98 kB / 3.75 GB, free: 215.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001004/7.936, allocations: 0.7351 MB / 3.75 GB, free: 214.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/7.936, allocations: 0 / 3.75 GB, free: 214.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001813/7.938, allocations: 0.507 MB / 3.751 GB, free: 214 MB / 1.151 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.002498/7.941, allocations: 1.822 MB / 3.753 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001244/7.942, allocations: 0.8223 MB / 3.753 GB, free: 211.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/7.942, allocations: 0 / 3.753 GB, free: 211.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003501/7.942, allocations: 276.2 kB / 3.754 GB, free: 211.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/7.944, allocations: 403.4 kB / 3.754 GB, free: 210.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/7.947, allocations: 1.227 MB / 3.755 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/7.947, allocations: 1.067 MB / 3.756 GB, free: 208.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001824/7.949, allocations: 377.9 kB / 3.757 GB, free: 208 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/7.949, allocations: 71.39 kB / 3.757 GB, free: 208 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/7.949, allocations: 4 kB / 3.757 GB, free: 208 MB / 1.151 GB Notification: Performance of Templates: time 0.03957/7.989, allocations: 27.44 MB / 3.783 GB, free: 180.8 MB / 1.151 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