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.208/2.208, allocations: 390.5 MB / 398 MB, free: 10.95 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.001385/0.001385, allocations: 176.8 kB / 491.2 MB, free: 1.578 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.745/1.745, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001115/0.001115, allocations: 91.89 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.657e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3169, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.662/5.979, allocations: 1.917 GB / 3.129 GB, free: 413.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/5.979, allocations: 97.66 kB / 3.129 GB, free: 413.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/8.169, allocations: 0.7417 GB / 3.871 GB, free: 89.07 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.134e-06/8.169, allocations: 0 / 3.871 GB, free: 89.07 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002729/8.169, allocations: 28 kB / 3.871 GB, free: 89.04 MB / 1.151 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.005634/8.175, allocations: 1.517 MB / 3.872 GB, free: 87.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/8.175, allocations: 11.97 kB / 3.872 GB, free: 87.46 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/8.179, allocations: 297.9 kB / 3.873 GB, free: 87.17 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/8.182, allocations: 1.238 MB / 3.874 GB, free: 85.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/8.182, allocations: 20 kB / 3.874 GB, free: 85.86 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/8.182, allocations: 48 kB / 3.874 GB, free: 85.82 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001218/8.183, allocations: 0.7483 MB / 3.875 GB, free: 85.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/8.185, allocations: 0.6832 MB / 3.875 GB, free: 84.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/8.185, allocations: 4 kB / 3.875 GB, free: 84.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/8.185, allocations: 0 / 3.875 GB, free: 84.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/8.185, allocations: 21.31 kB / 3.875 GB, free: 84.35 MB / 1.151 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.005874/8.191, allocations: 3.417 MB / 3.879 GB, free: 80.79 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/8.192, allocations: 0.743 MB / 3.879 GB, free: 80.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/8.192, allocations: 398.4 kB / 3.88 GB, free: 79.62 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/8.192, allocations: 296.1 kB / 3.88 GB, free: 79.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/8.192, allocations: 47.06 kB / 3.88 GB, free: 79.22 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001384/8.194, allocations: 307.4 kB / 3.88 GB, free: 78.92 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 5.07e-06/8.194, allocations: 0 / 3.88 GB, free: 78.92 MB / 1.151 GB Notification: Performance of matching and sorting (n=55): time 0.001924/8.196, allocations: 0.8802 MB / 3.881 GB, free: 78.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/8.196, allocations: 59.97 kB / 3.881 GB, free: 77.96 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/8.198, allocations: 1.222 MB / 3.882 GB, free: 76.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/8.198, allocations: 33.64 kB / 3.883 GB, free: 76.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/8.198, allocations: 0.5342 MB / 3.883 GB, free: 76.15 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/8.198, allocations: 181.2 kB / 3.883 GB, free: 75.97 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/8.198, allocations: 0 / 3.883 GB, free: 75.97 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/8.198, allocations: 330 kB / 3.884 GB, free: 75.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/8.199, allocations: 309 kB / 3.884 GB, free: 75.34 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/8.199, allocations: 0.5738 MB / 3.884 GB, free: 74.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/8.2, allocations: 387.3 kB / 3.885 GB, free: 74.28 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/8.2, allocations: 4 kB / 3.885 GB, free: 74.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001286/8.201, allocations: 0.8684 MB / 3.886 GB, free: 73.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/8.201, allocations: 98.09 kB / 3.886 GB, free: 73.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/8.201, allocations: 0 / 3.886 GB, free: 73.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/8.201, allocations: 0 / 3.886 GB, free: 73.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/8.202, allocations: 187.7 kB / 3.886 GB, free: 73.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/8.202, allocations: 0 / 3.886 GB, free: 73.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/8.204, allocations: 139.8 kB / 3.886 GB, free: 72.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/8.204, allocations: 39.95 kB / 3.886 GB, free: 72.94 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/8.204, allocations: 4 kB / 3.886 GB, free: 72.94 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009721/8.205, allocations: 0.708 MB / 3.887 GB, free: 72.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/8.205, allocations: 0 / 3.887 GB, free: 72.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/8.205, allocations: 0 / 3.887 GB, free: 72.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/8.206, allocations: 187.7 kB / 3.887 GB, free: 72.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/8.206, allocations: 0 / 3.887 GB, free: 72.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/8.207, allocations: 135.8 kB / 3.887 GB, free: 71.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/8.207, allocations: 35.95 kB / 3.887 GB, free: 71.88 MB / 1.151 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 (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.0001722/8.207, allocations: 116.9 kB / 3.887 GB, free: 71.76 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/8.208, allocations: 122.5 kB / 3.887 GB, free: 71.64 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/8.209, allocations: 0.9323 MB / 3.888 GB, free: 70.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/8.209, allocations: 8 kB / 3.888 GB, free: 70.69 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/8.209, allocations: 0 / 3.888 GB, free: 70.69 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/8.209, allocations: 7.969 kB / 3.888 GB, free: 70.68 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.003137/8.212, allocations: 2.353 MB / 3.891 GB, free: 68.24 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/8.212, allocations: 4.281 kB / 3.891 GB, free: 68.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/8.213, allocations: 143.8 kB / 3.891 GB, free: 68.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/8.213, allocations: 4 kB / 3.891 GB, free: 68.09 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/8.213, allocations: 15.98 kB / 3.891 GB, free: 68.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/8.213, allocations: 7.938 kB / 3.891 GB, free: 68.07 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/8.213, allocations: 4 kB / 3.891 GB, free: 68.07 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/8.215, allocations: 1.497 MB / 3.892 GB, free: 66.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/8.216, allocations: 367.4 kB / 3.893 GB, free: 66.11 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/8.216, allocations: 4 kB / 3.893 GB, free: 66.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/8.217, allocations: 91.72 kB / 3.893 GB, free: 66.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/8.217, allocations: 56.5 kB / 3.893 GB, free: 65.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/8.217, allocations: 27.98 kB / 3.893 GB, free: 65.93 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001287/8.219, allocations: 0.9487 MB / 3.894 GB, free: 64.98 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/8.219, allocations: 0 / 3.894 GB, free: 64.98 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002251/8.221, allocations: 0.6317 MB / 3.894 GB, free: 64.34 MB / 1.151 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 () * 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.003047/8.224, allocations: 2.072 MB / 3.896 GB, free: 62.19 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001634/8.226, allocations: 1.12 MB / 3.897 GB, free: 61.07 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/8.226, allocations: 4 kB / 3.897 GB, free: 61.06 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/8.226, allocations: 361.9 kB / 3.898 GB, free: 60.71 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/8.229, allocations: 477.5 kB / 3.898 GB, free: 60.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/8.232, allocations: 1.601 MB / 3.9 GB, free: 58.59 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/8.233, allocations: 1.166 MB / 3.901 GB, free: 57.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002578/8.235, allocations: 0.4886 MB / 3.901 GB, free: 56.91 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/8.235, allocations: 91.38 kB / 3.901 GB, free: 56.82 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/8.236, allocations: 0 / 3.901 GB, free: 56.82 MB / 1.151 GB Notification: Performance of Templates: time 0.04989/8.285, allocations: 33.56 MB / 3.934 GB, free: 23.49 MB / 1.151 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