Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 393.5 MB / 408.4 MB, free: 10.82 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.001179/0.001179, allocations: 175.9 kB / 0.4902 GB, free: 2.086 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.685/1.685, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001202/0.001202, allocations: 114.3 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 8.641 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.062/5.437, allocations: 1.917 GB / 3.147 GB, free: 64.14 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/5.437, allocations: 92.66 kB / 3.147 GB, free: 64.05 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.2/8.638, allocations: 0.7508 GB / 3.898 GB, free: 210 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.665e-06/8.638, allocations: 0 / 3.898 GB, free: 210 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002783/8.638, allocations: 35.94 kB / 3.898 GB, free: 209.9 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.0082/8.646, allocations: 2.017 MB / 3.9 GB, free: 207.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/8.646, allocations: 19.97 kB / 3.9 GB, free: 207.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/8.65, allocations: 293.9 kB / 3.9 GB, free: 207.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/8.654, allocations: 1.292 MB / 3.901 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/8.655, allocations: 57.31 kB / 3.901 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/8.655, allocations: 80 kB / 3.901 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/8.657, allocations: 0.8223 MB / 3.902 GB, free: 205.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/8.657, allocations: 7.938 kB / 3.902 GB, free: 205.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/8.657, allocations: 24 kB / 3.902 GB, free: 205.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/8.657, allocations: 29.3 kB / 3.902 GB, free: 205.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/8.658, allocations: 0.8679 MB / 3.903 GB, free: 204.3 MB / 1.167 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.006499/8.665, allocations: 3.574 MB / 3.906 GB, free: 200.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/8.666, allocations: 0.823 MB / 3.907 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/8.667, allocations: 300 kB / 3.908 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/8.667, allocations: 39.06 kB / 3.908 GB, free: 199.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001524/8.668, allocations: 335.2 kB / 3.908 GB, free: 199 MB / 1.167 GB Notification: Performance of pre-optimization done (n=55): time 4.058e-06/8.668, allocations: 0 / 3.908 GB, free: 199 MB / 1.167 GB Notification: Performance of matching and sorting (n=55): time 0.002698/8.671, allocations: 1.368 MB / 3.909 GB, free: 197.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/8.671, allocations: 55.97 kB / 3.909 GB, free: 197.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/8.673, allocations: 1.446 MB / 3.911 GB, free: 196.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/8.673, allocations: 41.7 kB / 3.911 GB, free: 196.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/8.674, allocations: 0.5354 MB / 3.911 GB, free: 195.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/8.674, allocations: 193.1 kB / 3.911 GB, free: 195.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/8.674, allocations: 8 kB / 3.911 GB, free: 195.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/8.674, allocations: 330 kB / 3.912 GB, free: 195 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/8.675, allocations: 364.8 kB / 3.912 GB, free: 194.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/8.675, allocations: 0.653 MB / 3.913 GB, free: 193.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/8.676, allocations: 431.4 kB / 3.913 GB, free: 193.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/8.676, allocations: 0 / 3.913 GB, free: 193.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001787/8.678, allocations: 0.9971 MB / 3.914 GB, free: 192.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/8.678, allocations: 105.1 kB / 3.914 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/8.678, allocations: 0 / 3.914 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/8.678, allocations: 0 / 3.914 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/8.679, allocations: 183.8 kB / 3.914 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/8.679, allocations: 4 kB / 3.914 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/8.681, allocations: 147.8 kB / 3.915 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/8.681, allocations: 39.95 kB / 3.915 GB, free: 192 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/8.681, allocations: 4 kB / 3.915 GB, free: 192 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001483/8.682, allocations: 0.8524 MB / 3.915 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/8.683, allocations: 0 / 3.915 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/8.683, allocations: 4 kB / 3.915 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/8.683, allocations: 179.8 kB / 3.916 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/8.683, allocations: 4 kB / 3.916 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/8.685, allocations: 151.8 kB / 3.916 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.42e-05/8.685, allocations: 39.91 kB / 3.916 GB, free: 190.8 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0008252/8.686, allocations: 372.9 kB / 3.916 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/8.687, allocations: 130.4 kB / 3.916 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/8.689, allocations: 1.09 MB / 3.917 GB, free: 189.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/8.689, allocations: 8 kB / 3.917 GB, free: 189.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/8.689, allocations: 0 / 3.917 GB, free: 189.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/8.689, allocations: 3.984 kB / 3.917 GB, free: 189.1 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.004301/8.693, allocations: 2.602 MB / 3.92 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/8.693, allocations: 0 / 3.92 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/8.694, allocations: 139.8 kB / 3.92 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/8.694, allocations: 4 kB / 3.92 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/8.694, allocations: 28.2 kB / 3.92 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/8.694, allocations: 11.94 kB / 3.92 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/8.694, allocations: 4 kB / 3.92 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/8.696, allocations: 1.711 MB / 3.922 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/8.697, allocations: 371.2 kB / 3.922 GB, free: 184 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/8.697, allocations: 27.94 kB / 3.922 GB, free: 184 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/8.699, allocations: 99.88 kB / 3.922 GB, free: 183.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/8.699, allocations: 52.44 kB / 3.922 GB, free: 183.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/8.699, allocations: 27.98 kB / 3.922 GB, free: 183.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001791/8.701, allocations: 1.139 MB / 3.923 GB, free: 182.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.701, allocations: 0 / 3.923 GB, free: 182.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002617/8.703, allocations: 0.6946 MB / 3.924 GB, free: 182 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[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 (66): * Single equations (assignments): 66 * 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.002707/8.706, allocations: 1.863 MB / 3.926 GB, free: 180.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002269/8.708, allocations: 1.256 MB / 3.927 GB, free: 178.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/8.709, allocations: 0 / 3.927 GB, free: 178.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/8.709, allocations: 443.4 kB / 3.928 GB, free: 178.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/8.712, allocations: 0.5583 MB / 3.928 GB, free: 177.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/8.715, allocations: 2.453 MB / 3.931 GB, free: 175.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/8.716, allocations: 1.169 MB / 3.932 GB, free: 174.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001686/8.717, allocations: 377 kB / 3.932 GB, free: 173.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/8.718, allocations: 123.4 kB / 3.932 GB, free: 173.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.423e-06/8.718, allocations: 0 / 3.932 GB, free: 173.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06096/8.779, allocations: 46.62 MB / 3.978 GB, free: 127.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches