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.304/2.304, 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.001018/0.001018, allocations: 172 kB / 498.1 MB, free: 5.754 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.731/1.731, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001218/0.001218, allocations: 95.94 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004422, allocations: 10.38 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3574, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.229/5.586, allocations: 1.916 GB / 3.138 GB, free: 99.02 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/5.586, allocations: 91.95 kB / 3.139 GB, free: 98.93 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.774/8.36, allocations: 0.6119 GB / 3.75 GB, free: 302.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.845e-06/8.36, allocations: 0 / 3.75 GB, free: 302.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001043/8.36, allocations: 32.73 kB / 3.751 GB, free: 302.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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00494/8.365, allocations: 1.661 MB / 3.752 GB, free: 302.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/8.365, allocations: 9.406 kB / 3.752 GB, free: 302.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/8.368, allocations: 236.5 kB / 3.752 GB, free: 302.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/8.37, allocations: 1.035 MB / 3.753 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/8.37, allocations: 43.16 kB / 3.753 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/8.37, allocations: 60.06 kB / 3.753 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/8.371, allocations: 0.6248 MB / 3.754 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/8.371, allocations: 0 / 3.754 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/8.371, allocations: 24.47 kB / 3.754 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/8.372, allocations: 23.8 kB / 3.754 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/8.373, allocations: 0.6539 MB / 3.755 GB, free: 301.9 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.004328/8.377, allocations: 2.737 MB / 3.757 GB, free: 301.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/8.378, allocations: 0.5766 MB / 3.758 GB, free: 301.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/8.379, allocations: 292.9 kB / 3.758 GB, free: 300.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/8.379, allocations: 45.12 kB / 3.758 GB, free: 300.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009666/8.38, allocations: 218.9 kB / 3.759 GB, free: 300.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 2.565e-06/8.38, allocations: 0 / 3.759 GB, free: 300.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.00216/8.382, allocations: 1.07 MB / 3.76 GB, free: 300.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/8.382, allocations: 59.17 kB / 3.76 GB, free: 300.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/8.383, allocations: 1.12 MB / 3.761 GB, free: 300.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/8.383, allocations: 40.48 kB / 3.761 GB, free: 300.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/8.384, allocations: 441.9 kB / 3.761 GB, free: 300.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/8.384, allocations: 159 kB / 3.761 GB, free: 300.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/8.384, allocations: 7.25 kB / 3.761 GB, free: 300.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/8.384, allocations: 323 kB / 3.762 GB, free: 299.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/8.384, allocations: 278.8 kB / 3.762 GB, free: 299.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/8.385, allocations: 0.4966 MB / 3.762 GB, free: 299.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/8.386, allocations: 331.8 kB / 3.763 GB, free: 299.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/8.386, allocations: 3.906 kB / 3.763 GB, free: 299.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001324/8.387, allocations: 0.7556 MB / 3.763 GB, free: 299.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/8.387, allocations: 106.6 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/8.387, allocations: 3.562 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/8.387, allocations: 0 / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/8.388, allocations: 139.3 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/8.388, allocations: 3.875 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/8.389, allocations: 111.6 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/8.389, allocations: 32.06 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/8.389, allocations: 7.875 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/8.391, allocations: 0.6345 MB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/8.391, allocations: 3.188 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/8.391, allocations: 3.938 kB / 3.764 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/8.391, allocations: 133.5 kB / 3.765 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/8.391, allocations: 2.781 kB / 3.765 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/8.392, allocations: 123.5 kB / 3.765 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/8.392, allocations: 29.78 kB / 3.765 GB, free: 299.5 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 (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.000525/8.393, allocations: 333 kB / 3.765 GB, free: 299.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/8.393, allocations: 100.2 kB / 3.765 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/8.395, allocations: 0.8566 MB / 3.766 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/8.395, allocations: 3.969 kB / 3.766 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/8.395, allocations: 0 / 3.766 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/8.395, allocations: 3.797 kB / 3.766 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/8.398, allocations: 2.005 MB / 3.768 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/8.398, allocations: 7.578 kB / 3.768 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/8.399, allocations: 120.3 kB / 3.768 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/8.399, allocations: 7.734 kB / 3.768 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/8.399, allocations: 11.47 kB / 3.768 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/8.399, allocations: 13.39 kB / 3.768 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/8.399, allocations: 0 / 3.768 GB, free: 298.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/8.401, allocations: 1.396 MB / 3.769 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005163/8.401, allocations: 303.7 kB / 3.77 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/8.401, allocations: 22.3 kB / 3.77 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/8.402, allocations: 81.84 kB / 3.77 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/8.402, allocations: 51.62 kB / 3.77 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/8.403, allocations: 26.22 kB / 3.77 GB, free: 298.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001364/8.404, allocations: 0.8867 MB / 3.771 GB, free: 298.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/8.404, allocations: 0 / 3.771 GB, free: 298.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002171/8.406, allocations: 0.5594 MB / 3.771 GB, free: 298.1 MB / 1.167 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 () * Number of clocked 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.002655/8.409, allocations: 1.629 MB / 3.773 GB, free: 297.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001952/8.411, allocations: 0.9581 MB / 3.774 GB, free: 297.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/8.411, allocations: 3.75 kB / 3.774 GB, free: 297.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005942/8.411, allocations: 341.4 kB / 3.774 GB, free: 297.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/8.414, allocations: 469.8 kB / 3.775 GB, free: 297.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/8.416, allocations: 1.912 MB / 3.777 GB, free: 296.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/8.417, allocations: 1.064 MB / 3.778 GB, free: 296 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001379/8.418, allocations: 294.2 kB / 3.778 GB, free: 295.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/8.419, allocations: 96.86 kB / 3.778 GB, free: 295.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.223e-06/8.419, allocations: 0 / 3.778 GB, free: 295.9 MB / 1.167 GB Notification: Performance of Templates: time 0.05694/8.476, allocations: 38.63 MB / 3.816 GB, free: 294.7 MB / 1.167 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