Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001034/0.001034, allocations: 176.9 kB / 487.4 MB, free: 5.051 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.493/1.493, allocations: 221.5 MB / 0.7824 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 95.03 kB / 0.9219 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.434e-05/2.445e-05, allocations: 5.797 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3151, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.564/5.879, allocations: 1.915 GB / 3.121 GB, free: 354 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/5.88, allocations: 93.17 kB / 3.121 GB, free: 354 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.9/7.779, allocations: 0.6044 GB / 3.725 GB, free: 223.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.433e-06/7.779, allocations: 0 / 3.725 GB, free: 223.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001458/7.78, allocations: 27.67 kB / 3.725 GB, free: 223.6 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.003487/7.783, allocations: 1.28 MB / 3.727 GB, free: 222.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/7.783, allocations: 8.031 kB / 3.727 GB, free: 222.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/7.786, allocations: 238.4 kB / 3.727 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/7.788, allocations: 1.003 MB / 3.728 GB, free: 221 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/7.788, allocations: 16 kB / 3.728 GB, free: 221 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/7.789, allocations: 39.94 kB / 3.728 GB, free: 221 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009164/7.79, allocations: 0.5414 MB / 3.728 GB, free: 220.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/7.79, allocations: 0.5135 MB / 3.729 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/7.79, allocations: 0 / 3.729 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/7.79, allocations: 0 / 3.729 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/7.791, allocations: 17.31 kB / 3.729 GB, free: 219.9 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.00446/7.795, allocations: 2.606 MB / 3.732 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/7.796, allocations: 0.516 MB / 3.732 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/7.796, allocations: 304.7 kB / 3.732 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/7.797, allocations: 290.6 kB / 3.733 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/7.797, allocations: 35.64 kB / 3.733 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001106/7.798, allocations: 211.4 kB / 3.733 GB, free: 215.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 5.07e-06/7.798, allocations: 0 / 3.733 GB, free: 215.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001591/7.799, allocations: 0.6688 MB / 3.733 GB, free: 215.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/7.799, allocations: 55.41 kB / 3.734 GB, free: 215 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/7.801, allocations: 0.953 MB / 3.734 GB, free: 214.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/7.801, allocations: 29.7 kB / 3.734 GB, free: 214 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/7.801, allocations: 445.6 kB / 3.735 GB, free: 213.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/7.801, allocations: 149.6 kB / 3.735 GB, free: 213.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/7.801, allocations: 0 / 3.735 GB, free: 213.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/7.801, allocations: 322 kB / 3.735 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/7.802, allocations: 228.6 kB / 3.736 GB, free: 212.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/7.802, allocations: 438.9 kB / 3.736 GB, free: 212.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/7.803, allocations: 279.7 kB / 3.736 GB, free: 212.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/7.803, allocations: 3.953 kB / 3.736 GB, free: 212.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001008/7.804, allocations: 0.6444 MB / 3.737 GB, free: 211.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/7.804, allocations: 102.6 kB / 3.737 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/7.804, allocations: 0 / 3.737 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/7.804, allocations: 0 / 3.737 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/7.804, allocations: 135.8 kB / 3.737 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/7.804, allocations: 3.984 kB / 3.737 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/7.806, allocations: 115.7 kB / 3.737 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/7.806, allocations: 31.97 kB / 3.737 GB, free: 211.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/7.806, allocations: 4 kB / 3.737 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007598/7.807, allocations: 0.5111 MB / 3.738 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/7.807, allocations: 3.953 kB / 3.738 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.73e-06/7.807, allocations: 4 kB / 3.738 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/7.807, allocations: 127.8 kB / 3.738 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/7.807, allocations: 3.984 kB / 3.738 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/7.809, allocations: 103.9 kB / 3.738 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/7.809, allocations: 31.97 kB / 3.738 GB, free: 210.3 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.0001638/7.809, allocations: 120.9 kB / 3.738 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/7.809, allocations: 94.78 kB / 3.738 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/7.81, allocations: 0.7202 MB / 3.739 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/7.81, allocations: 4 kB / 3.739 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/7.81, allocations: 0 / 3.739 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/7.81, allocations: 3.984 kB / 3.739 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/7.813, allocations: 1.797 MB / 3.741 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/7.813, allocations: 4 kB / 3.741 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/7.814, allocations: 124.1 kB / 3.741 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/7.814, allocations: 4 kB / 3.741 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/7.814, allocations: 11.98 kB / 3.741 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/7.814, allocations: 4 kB / 3.741 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/7.814, allocations: 4 kB / 3.741 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/7.815, allocations: 1.195 MB / 3.742 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/7.815, allocations: 299.7 kB / 3.742 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/7.816, allocations: 8.062 kB / 3.742 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/7.817, allocations: 75.77 kB / 3.742 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/7.817, allocations: 47.88 kB / 3.742 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/7.817, allocations: 20 kB / 3.742 GB, free: 205.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009285/7.818, allocations: 0.7429 MB / 3.743 GB, free: 204.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.818, allocations: 4 kB / 3.743 GB, free: 204.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001699/7.82, allocations: 0.4992 MB / 3.744 GB, free: 204.3 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.002536/7.822, allocations: 1.817 MB / 3.745 GB, free: 202.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001248/7.823, allocations: 0.8299 MB / 3.746 GB, free: 201.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/7.823, allocations: 3.938 kB / 3.746 GB, free: 201.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/7.824, allocations: 287.8 kB / 3.747 GB, free: 201.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/7.826, allocations: 389.6 kB / 3.747 GB, free: 201.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/7.828, allocations: 1.226 MB / 3.748 GB, free: 199.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/7.829, allocations: 1.067 MB / 3.749 GB, free: 198.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001833/7.831, allocations: 381.9 kB / 3.749 GB, free: 198.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/7.831, allocations: 71.39 kB / 3.75 GB, free: 198.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/7.831, allocations: 0 / 3.75 GB, free: 198.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04246/7.873, allocations: 27.43 MB / 3.776 GB, free: 171.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches