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.547/1.547, allocations: 249.5 MB / 257 MB, free: 6.848 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.0009833/0.0009834, allocations: 183.4 kB / 316.3 MB, free: 3.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.4/1.4, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.001021/0.001021, allocations: 96.11 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.375e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.332/5.543, allocations: 2.202 GB / 3.087 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/5.543, allocations: 87.95 kB / 3.087 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.068/7.612, allocations: 0.5789 GB / 3.666 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.352e-06/7.612, allocations: 0 / 3.666 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001025/7.612, allocations: 25.16 kB / 3.666 GB, free: 175.2 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.002746/7.614, allocations: 1.322 MB / 3.667 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/7.614, allocations: 7.812 kB / 3.667 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/7.617, allocations: 238 kB / 3.667 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/7.618, allocations: 1.041 MB / 3.668 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/7.618, allocations: 16.28 kB / 3.669 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/7.619, allocations: 40.62 kB / 3.669 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007991/7.619, allocations: 0.531 MB / 3.669 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/7.62, allocations: 0.5977 MB / 3.67 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/7.62, allocations: 0 / 3.67 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/7.62, allocations: 5.359 kB / 3.67 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/7.62, allocations: 14.03 kB / 3.67 GB, free: 174.2 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.003443/7.624, allocations: 2.606 MB / 3.672 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/7.624, allocations: 0.5085 MB / 3.673 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/7.625, allocations: 301.7 kB / 3.673 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/7.625, allocations: 298.4 kB / 3.673 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/7.625, allocations: 41.12 kB / 3.673 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000841/7.626, allocations: 208.3 kB / 3.674 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/7.626, allocations: 0 / 3.674 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.001281/7.627, allocations: 0.6705 MB / 3.674 GB, free: 173 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/7.627, allocations: 138.2 kB / 3.674 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/7.629, allocations: 0.9676 MB / 3.675 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/7.629, allocations: 25.7 kB / 3.675 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/7.629, allocations: 450.6 kB / 3.676 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/7.629, allocations: 152.9 kB / 3.676 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/7.629, allocations: 0 / 3.676 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/7.629, allocations: 316.7 kB / 3.676 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/7.629, allocations: 235.7 kB / 3.676 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/7.63, allocations: 480.7 kB / 3.677 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/7.63, allocations: 297.8 kB / 3.677 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/7.63, allocations: 0 / 3.677 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009571/7.631, allocations: 0.6752 MB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/7.631, allocations: 93.47 kB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/7.631, allocations: 7.656 kB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/7.631, allocations: 3.906 kB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/7.632, allocations: 121.4 kB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/7.632, allocations: 2.625 kB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/7.633, allocations: 112.4 kB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/7.633, allocations: 30.78 kB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/7.633, allocations: 3.875 kB / 3.678 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007944/7.634, allocations: 0.5392 MB / 3.679 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/7.634, allocations: 3.938 kB / 3.679 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/7.634, allocations: 3.812 kB / 3.679 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/7.635, allocations: 121.6 kB / 3.679 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/7.635, allocations: 0 / 3.679 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/7.636, allocations: 105.1 kB / 3.679 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/7.636, allocations: 30.14 kB / 3.679 GB, free: 171.7 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.0001381/7.636, allocations: 121.5 kB / 3.679 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/7.636, allocations: 102.2 kB / 3.679 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/7.637, allocations: 0.7044 MB / 3.68 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/7.637, allocations: 3.656 kB / 3.68 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/7.637, allocations: 0 / 3.68 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/7.637, allocations: 3.328 kB / 3.68 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/7.64, allocations: 1.784 MB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/7.64, allocations: 7.297 kB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/7.64, allocations: 108.2 kB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/7.64, allocations: 7.344 kB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/7.64, allocations: 15.08 kB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/7.64, allocations: 9.141 kB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/7.64, allocations: 6.938 kB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/7.642, allocations: 1.187 MB / 3.683 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/7.642, allocations: 292.4 kB / 3.683 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/7.642, allocations: 6.906 kB / 3.683 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009167/7.643, allocations: 77.83 kB / 3.683 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/7.643, allocations: 47.55 kB / 3.683 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/7.643, allocations: 24.41 kB / 3.683 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008872/7.644, allocations: 0.7504 MB / 3.684 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/7.644, allocations: 0 / 3.684 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001775/7.646, allocations: 0.5535 MB / 3.685 GB, free: 170.4 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.002457/7.649, allocations: 1.872 MB / 3.686 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001104/7.65, allocations: 0.9125 MB / 3.687 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/7.65, allocations: 0 / 3.687 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/7.65, allocations: 280.6 kB / 3.688 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/7.652, allocations: 412.3 kB / 3.688 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/7.654, allocations: 1.247 MB / 3.689 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/7.654, allocations: 1.082 MB / 3.69 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001478/7.656, allocations: 381.8 kB / 3.691 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/7.656, allocations: 64.09 kB / 3.691 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/7.656, allocations: 2.438 kB / 3.691 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.03776/7.694, allocations: 28.76 MB / 3.719 GB, free: 167.7 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