Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 249.3 MB / 261.8 MB, free: 5.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009135/0.0009136, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.2 MB / 0.572 GB, free: 10.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.0007795/0.0007795, allocations: 102.4 kB / 0.6764 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.201e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.327/5.532, allocations: 2.201 GB / 3.093 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/5.532, allocations: 90.5 kB / 3.093 GB, free: 127 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.178/7.71, allocations: 0.5859 GB / 3.679 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.593e-06/7.71, allocations: 3.375 kB / 3.679 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.843e-05/7.71, allocations: 32.59 kB / 3.679 GB, free: 182.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002875/7.713, allocations: 1.324 MB / 3.681 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/7.713, allocations: 15.38 kB / 3.681 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/7.715, allocations: 235.2 kB / 3.681 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/7.717, allocations: 1.04 MB / 3.682 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/7.717, allocations: 43.19 kB / 3.682 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/7.717, allocations: 75.05 kB / 3.682 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/7.718, allocations: 0.6564 MB / 3.683 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/7.718, allocations: 3.938 kB / 3.683 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/7.719, allocations: 19.97 kB / 3.683 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/7.719, allocations: 11.12 kB / 3.683 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/7.719, allocations: 0.5518 MB / 3.683 GB, free: 180.7 MB / 0.8698 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.004098/7.723, allocations: 2.725 MB / 3.686 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/7.724, allocations: 0.5172 MB / 3.686 GB, free: 179 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/7.725, allocations: 324.4 kB / 3.687 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/7.725, allocations: 292 kB / 3.687 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/7.725, allocations: 37.88 kB / 3.687 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009505/7.726, allocations: 224.5 kB / 3.687 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 3.656e-06/7.726, allocations: 0 / 3.687 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.001333/7.728, allocations: 0.6842 MB / 3.688 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/7.728, allocations: 138.1 kB / 3.688 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/7.729, allocations: 1.098 MB / 3.689 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/7.729, allocations: 37.42 kB / 3.689 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/7.729, allocations: 453.6 kB / 3.69 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/7.73, allocations: 149 kB / 3.69 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/7.73, allocations: 16.33 kB / 3.69 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/7.73, allocations: 316.8 kB / 3.69 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/7.73, allocations: 241.9 kB / 3.69 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/7.73, allocations: 488.1 kB / 3.691 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/7.731, allocations: 290.7 kB / 3.691 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/7.731, allocations: 0 / 3.691 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001059/7.732, allocations: 0.7005 MB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/7.732, allocations: 102 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/7.732, allocations: 0 / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/7.732, allocations: 11.16 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/7.733, allocations: 121.8 kB / 3.692 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/7.733, allocations: 2.625 kB / 3.692 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/7.734, allocations: 122.4 kB / 3.692 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/7.734, allocations: 30.33 kB / 3.692 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/7.734, allocations: 3.969 kB / 3.692 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008506/7.735, allocations: 0.5657 MB / 3.693 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.735, allocations: 3.562 kB / 3.693 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/7.735, allocations: 3.953 kB / 3.693 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/7.735, allocations: 133.5 kB / 3.693 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/7.735, allocations: 0 / 3.693 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/7.737, allocations: 110.6 kB / 3.693 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/7.737, allocations: 30.75 kB / 3.693 GB, free: 175.6 MB / 0.8698 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001772/7.737, allocations: 141.8 kB / 3.693 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/7.737, allocations: 108.8 kB / 3.693 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/7.739, allocations: 0.7454 MB / 3.694 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/7.739, allocations: 10.64 kB / 3.694 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/7.739, allocations: 0 / 3.694 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/7.739, allocations: 3.891 kB / 3.694 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/7.741, allocations: 1.897 MB / 3.696 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/7.741, allocations: 3.375 kB / 3.696 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/7.742, allocations: 114.6 kB / 3.696 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/7.742, allocations: 7.344 kB / 3.696 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/7.742, allocations: 15.62 kB / 3.696 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/7.742, allocations: 3.625 kB / 3.696 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/7.742, allocations: 7.641 kB / 3.696 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/7.743, allocations: 1.236 MB / 3.697 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/7.744, allocations: 307.8 kB / 3.697 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/7.744, allocations: 11.06 kB / 3.697 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009373/7.745, allocations: 94.53 kB / 3.697 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/7.745, allocations: 39.11 kB / 3.697 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/7.745, allocations: 25.78 kB / 3.697 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001163/7.746, allocations: 0.8625 MB / 3.698 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.663e-06/7.746, allocations: 0 / 3.698 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002081/7.749, allocations: 0.6091 MB / 3.699 GB, free: 172.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.002228/7.751, allocations: 1.662 MB / 3.701 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001392/7.752, allocations: 0.9463 MB / 3.701 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/7.752, allocations: 0 / 3.701 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/7.753, allocations: 291.7 kB / 3.702 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/7.755, allocations: 487.2 kB / 3.702 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/7.757, allocations: 1.285 MB / 3.703 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/7.757, allocations: 1.078 MB / 3.704 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001663/7.759, allocations: 411.1 kB / 3.705 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/7.759, allocations: 76.38 kB / 3.705 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/7.759, allocations: 0 / 3.705 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.05512/7.814, allocations: 45.78 MB / 3.75 GB, free: 127.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches