Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 189.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.4 MB / 0.5775 GB, free: 20.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009056, allocations: 85.83 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 11.31 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2252, allocations: 106.3 MB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.497/5.722, allocations: 2.203 GB / 3.103 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/5.723, allocations: 93.8 kB / 3.103 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.288/8.011, allocations: 0.7207 GB / 3.823 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.913e-06/8.011, allocations: 0 / 3.823 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001422/8.011, allocations: 44.59 kB / 3.824 GB, free: 165.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.007357/8.019, allocations: 2.089 MB / 3.826 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.157e-05/8.019, allocations: 10.69 kB / 3.826 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/8.022, allocations: 304.2 kB / 3.826 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/8.026, allocations: 1.378 MB / 3.827 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/8.026, allocations: 57.81 kB / 3.827 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/8.027, allocations: 84.8 kB / 3.827 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/8.028, allocations: 0.954 MB / 3.828 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/8.028, allocations: 7.141 kB / 3.828 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/8.028, allocations: 31.06 kB / 3.828 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/8.028, allocations: 13.78 kB / 3.828 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/8.03, allocations: 0.868 MB / 3.829 GB, free: 164.2 MB / 0.8855 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.005753/8.035, allocations: 3.568 MB / 3.833 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/8.037, allocations: 0.7933 MB / 3.833 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003431/8.037, allocations: 295.8 kB / 3.834 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/8.037, allocations: 37.44 kB / 3.834 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001415/8.039, allocations: 343.2 kB / 3.834 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 3.537e-06/8.039, allocations: 3.172 kB / 3.834 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.002477/8.041, allocations: 1.338 MB / 3.835 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/8.041, allocations: 219.5 kB / 3.836 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/8.043, allocations: 1.471 MB / 3.837 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-05/8.043, allocations: 45.11 kB / 3.837 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/8.043, allocations: 0.5531 MB / 3.838 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/8.044, allocations: 184.5 kB / 3.838 GB, free: 162 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/8.044, allocations: 7.062 kB / 3.838 GB, free: 162 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.593e-05/8.044, allocations: 333.2 kB / 3.838 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/8.044, allocations: 391 kB / 3.839 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/8.045, allocations: 0.7029 MB / 3.839 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/8.046, allocations: 467.5 kB / 3.84 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/8.046, allocations: 3.562 kB / 3.84 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001692/8.048, allocations: 1.05 MB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/8.048, allocations: 99.75 kB / 3.841 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/8.048, allocations: 3.609 kB / 3.841 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/8.048, allocations: 6.688 kB / 3.841 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008439/8.049, allocations: 162 kB / 3.841 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/8.049, allocations: 3.875 kB / 3.841 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/8.05, allocations: 160.9 kB / 3.841 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.184e-05/8.05, allocations: 37.16 kB / 3.841 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/8.05, allocations: 3.844 kB / 3.841 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001497/8.052, allocations: 0.8935 MB / 3.842 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/8.052, allocations: 3.406 kB / 3.842 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/8.052, allocations: 7.219 kB / 3.842 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/8.053, allocations: 165 kB / 3.842 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/8.053, allocations: 0 / 3.842 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/8.054, allocations: 154.6 kB / 3.842 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/8.054, allocations: 42.97 kB / 3.842 GB, free: 161.1 MB / 0.8855 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0005944/8.055, allocations: 379.5 kB / 3.843 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/8.055, allocations: 138.1 kB / 3.843 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/8.057, allocations: 1.073 MB / 3.844 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/8.057, allocations: 7.125 kB / 3.844 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/8.057, allocations: 3.188 kB / 3.844 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/8.057, allocations: 3.844 kB / 3.844 GB, free: 160.8 MB / 0.8855 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.003515/8.061, allocations: 2.513 MB / 3.846 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/8.061, allocations: 7.562 kB / 3.846 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/8.062, allocations: 136.4 kB / 3.846 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/8.062, allocations: 7.312 kB / 3.847 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/8.062, allocations: 28.86 kB / 3.847 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/8.062, allocations: 3.875 kB / 3.847 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/8.062, allocations: 3.344 kB / 3.847 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/8.064, allocations: 1.704 MB / 3.848 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008394/8.065, allocations: 371.4 kB / 3.849 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/8.065, allocations: 17.47 kB / 3.849 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/8.067, allocations: 103.9 kB / 3.849 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/8.067, allocations: 56.5 kB / 3.849 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/8.067, allocations: 37.67 kB / 3.849 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001867/8.069, allocations: 1.153 MB / 3.85 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/8.069, allocations: 0 / 3.85 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002494/8.071, allocations: 0.738 MB / 3.851 GB, free: 159.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[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 (63): * Single equations (assignments): 63 * 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.00286/8.074, allocations: 1.912 MB / 3.852 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002519/8.077, allocations: 1.429 MB / 3.854 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/8.077, allocations: 6.281 kB / 3.854 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/8.077, allocations: 424.5 kB / 3.854 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/8.081, allocations: 0.5873 MB / 3.855 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/8.085, allocations: 2.513 MB / 3.857 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/8.086, allocations: 1.194 MB / 3.858 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002135/8.088, allocations: 373.4 kB / 3.859 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/8.088, allocations: 127.5 kB / 3.859 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.232e-06/8.088, allocations: 2.125 kB / 3.859 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.065/8.153, allocations: 48.26 MB / 3.906 GB, free: 154.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches