Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.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_9_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_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001555/0.001556, allocations: 173.2 kB / 498.1 MB, free: 5.738 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.623/1.623, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001064/0.001064, allocations: 105.2 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004187, allocations: 10.38 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.354, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.396/5.75, allocations: 1.917 GB / 3.14 GB, free: 71.11 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/5.751, allocations: 96.06 kB / 3.14 GB, free: 71.06 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.273/9.024, allocations: 0.7508 GB / 3.89 GB, free: 229.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.285e-06/9.024, allocations: 0 / 3.89 GB, free: 229.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001208/9.024, allocations: 31.98 kB / 3.89 GB, free: 229.8 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.006828/9.031, allocations: 2.02 MB / 3.892 GB, free: 227.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/9.031, allocations: 12.03 kB / 3.892 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003666/9.035, allocations: 290 kB / 3.893 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/9.038, allocations: 1.304 MB / 3.894 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/9.038, allocations: 53.31 kB / 3.894 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/9.039, allocations: 80 kB / 3.894 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/9.04, allocations: 0.8261 MB / 3.895 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/9.04, allocations: 0 / 3.895 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/9.04, allocations: 24 kB / 3.895 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/9.04, allocations: 25.31 kB / 3.895 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/9.042, allocations: 0.8679 MB / 3.896 GB, free: 224.2 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.00661/9.048, allocations: 3.584 MB / 3.899 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/9.05, allocations: 0.8326 MB / 3.9 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/9.05, allocations: 292.1 kB / 3.9 GB, free: 219.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/9.05, allocations: 35.12 kB / 3.9 GB, free: 219.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001632/9.052, allocations: 331.3 kB / 3.901 GB, free: 218.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=55): time 3.417e-06/9.052, allocations: 0 / 3.901 GB, free: 218.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=55): time 0.002833/9.055, allocations: 1.376 MB / 3.902 GB, free: 217.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/9.055, allocations: 55.97 kB / 3.902 GB, free: 217.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/9.057, allocations: 1.446 MB / 3.904 GB, free: 216 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/9.057, allocations: 45.81 kB / 3.904 GB, free: 216 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/9.058, allocations: 0.5289 MB / 3.904 GB, free: 215.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/9.058, allocations: 197.1 kB / 3.904 GB, free: 215.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/9.058, allocations: 12 kB / 3.904 GB, free: 215.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/9.058, allocations: 330 kB / 3.905 GB, free: 214.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/9.058, allocations: 356.9 kB / 3.905 GB, free: 214.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007884/9.059, allocations: 0.6453 MB / 3.906 GB, free: 213.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/9.06, allocations: 436.2 kB / 3.906 GB, free: 213.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/9.06, allocations: 0 / 3.906 GB, free: 213.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001841/9.062, allocations: 1.001 MB / 3.907 GB, free: 212.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/9.062, allocations: 101 kB / 3.907 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/9.062, allocations: 0 / 3.907 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/9.062, allocations: 8 kB / 3.907 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/9.063, allocations: 175.8 kB / 3.907 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/9.063, allocations: 4 kB / 3.907 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/9.065, allocations: 155.7 kB / 3.907 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/9.065, allocations: 39.95 kB / 3.907 GB, free: 211.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/9.065, allocations: 8 kB / 3.908 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001451/9.066, allocations: 0.8446 MB / 3.908 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/9.066, allocations: 0 / 3.908 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/9.066, allocations: 7.984 kB / 3.908 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/9.067, allocations: 175.8 kB / 3.909 GB, free: 210.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/9.067, allocations: 4 kB / 3.909 GB, free: 210.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/9.069, allocations: 147.8 kB / 3.909 GB, free: 210.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/9.069, allocations: 35.95 kB / 3.909 GB, free: 210.7 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.0007472/9.07, allocations: 384.6 kB / 3.909 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/9.071, allocations: 134.3 kB / 3.909 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/9.073, allocations: 1.09 MB / 3.91 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/9.073, allocations: 4 kB / 3.91 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/9.073, allocations: 0 / 3.91 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/9.073, allocations: 3.984 kB / 3.91 GB, free: 209 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.003959/9.077, allocations: 2.606 MB / 3.913 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/9.077, allocations: 0 / 3.913 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/9.077, allocations: 148.1 kB / 3.913 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/9.077, allocations: 4 kB / 3.913 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/9.077, allocations: 23.98 kB / 3.913 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/9.077, allocations: 8 kB / 3.913 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/9.077, allocations: 0 / 3.913 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/9.08, allocations: 1.707 MB / 3.915 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/9.081, allocations: 375.2 kB / 3.915 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/9.081, allocations: 23.98 kB / 3.915 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/9.082, allocations: 103.8 kB / 3.915 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/9.082, allocations: 56.42 kB / 3.915 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/9.082, allocations: 27.98 kB / 3.915 GB, free: 203.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001693/9.084, allocations: 1.139 MB / 3.916 GB, free: 202.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.084, allocations: 0 / 3.916 GB, free: 202.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002465/9.087, allocations: 0.6869 MB / 3.917 GB, free: 201.9 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.00272/9.089, allocations: 1.874 MB / 3.919 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002337/9.092, allocations: 1.252 MB / 3.92 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/9.092, allocations: 0 / 3.92 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00066/9.092, allocations: 443.4 kB / 3.92 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/9.095, allocations: 0.5543 MB / 3.921 GB, free: 197.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/9.099, allocations: 2.446 MB / 3.923 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/9.099, allocations: 1.173 MB / 3.925 GB, free: 194 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001908/9.101, allocations: 373 kB / 3.925 GB, free: 193.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/9.102, allocations: 123.4 kB / 3.925 GB, free: 193.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.233e-06/9.102, allocations: 0 / 3.925 GB, free: 193.5 MB / 1.167 GB Notification: Performance of Templates: time 0.06467/9.166, allocations: 46.64 MB / 3.971 GB, free: 147.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches