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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 106.1 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 196.4 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.2 MB / 0.665 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.89 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6165, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1984/0.815, allocations: 187.2 MB / 1.133 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007245/0.8223, allocations: 4.261 MB / 1.137 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.8233, allocations: 23.81 kB / 1.137 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.8246, allocations: 445.6 kB / 1.137 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.8283, allocations: 1.462 MB / 1.139 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.8315, allocations: 1.239 MB / 1.14 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.8344, allocations: 2.272 MB / 1.142 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.8359, allocations: 1.053 MB / 1.143 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.8375, allocations: 0.9692 MB / 1.144 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.8387, allocations: 0.8951 MB / 1.145 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.839, allocations: 136 kB / 1.145 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.8412, allocations: 1.282 MB / 1.146 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003929/0.8416, allocations: 426.8 kB / 1.147 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006314/0.8422, allocations: 0.6492 MB / 1.147 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.8439, allocations: 1.532 MB / 1.149 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8439, allocations: 0 / 1.149 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.653e-06/0.844, allocations: 0 / 1.149 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.844, allocations: 0 / 1.149 GB, free: 5.625 MB / 0.9044 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.004375/0.8484, allocations: 1.724 MB / 1.151 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.8484, allocations: 8.031 kB / 1.151 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008683/0.8493, allocations: 186.5 kB / 1.151 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.851, allocations: 1.037 MB / 1.152 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.8512, allocations: 56.92 kB / 1.152 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.8513, allocations: 60 kB / 1.152 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.8526, allocations: 0.6115 MB / 1.152 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.8526, allocations: 0 / 1.152 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.8527, allocations: 20 kB / 1.152 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.8527, allocations: 20.94 kB / 1.152 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.854, allocations: 0.6207 MB / 1.153 GB, free: 1.172 MB / 0.9044 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.004159/0.8582, allocations: 2.662 MB / 1.156 GB, free: 14.37 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.8594, allocations: 0.5334 MB / 1.156 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/0.86, allocations: 356.6 kB / 1.157 GB, free: 13.47 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.8604, allocations: 288 kB / 1.157 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.8605, allocations: 46.56 kB / 1.157 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007793/0.8612, allocations: 155.5 kB / 1.157 GB, free: 12.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.8613, allocations: 0 / 1.157 GB, free: 12.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002355/0.8636, allocations: 1.024 MB / 1.158 GB, free: 11.9 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.8637, allocations: 63.36 kB / 1.158 GB, free: 11.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.8656, allocations: 1.271 MB / 1.159 GB, free: 10.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.279e-05/0.8657, allocations: 37.7 kB / 1.159 GB, free: 10.49 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.8661, allocations: 429.7 kB / 1.16 GB, free: 10.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.8662, allocations: 149.8 kB / 1.16 GB, free: 9.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.8664, allocations: 125.9 kB / 1.16 GB, free: 9.789 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8666, allocations: 318 kB / 1.16 GB, free: 9.473 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.8672, allocations: 270.2 kB / 1.161 GB, free: 9.207 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.868, allocations: 494.7 kB / 1.161 GB, free: 8.648 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.8691, allocations: 0.5868 MB / 1.162 GB, free: 8.059 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8691, allocations: 4 kB / 1.162 GB, free: 8.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001687/0.8708, allocations: 0.7301 MB / 1.162 GB, free: 7.316 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.8709, allocations: 7.984 kB / 1.162 GB, free: 7.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.8709, allocations: 4 kB / 1.162 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.8709, allocations: 0 / 1.162 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.8716, allocations: 123.8 kB / 1.162 GB, free: 7.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.8716, allocations: 0 / 1.162 GB, free: 7.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.873, allocations: 111.7 kB / 1.163 GB, free: 7.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.8731, allocations: 19.98 kB / 1.163 GB, free: 7.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008806/0.874, allocations: 463.9 kB / 1.163 GB, free: 6.598 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007859/0.8748, allocations: 497.8 kB / 1.164 GB, free: 6.031 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001182/0.876, allocations: 0.5823 MB / 1.164 GB, free: 5.441 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.876, allocations: 0 / 1.164 GB, free: 5.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001739/0.8777, allocations: 0.7344 MB / 1.165 GB, free: 4.699 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8778, allocations: 4 kB / 1.165 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.8778, allocations: 0 / 1.165 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.8778, allocations: 4 kB / 1.165 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.8784, allocations: 127.8 kB / 1.165 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.8785, allocations: 0 / 1.165 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.8801, allocations: 144.2 kB / 1.165 GB, free: 4.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.8801, allocations: 27.97 kB / 1.165 GB, free: 4.398 MB / 0.92 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.8803, allocations: 204.1 kB / 1.165 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.8806, allocations: 106.7 kB / 1.165 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.8824, allocations: 0.7992 MB / 1.166 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.8824, allocations: 4 kB / 1.166 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8825, allocations: 0 / 1.166 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.8825, allocations: 7.984 kB / 1.166 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.8859, allocations: 1.952 MB / 1.168 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8859, allocations: 4 kB / 1.168 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.8865, allocations: 108.1 kB / 1.168 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.8866, allocations: 19.86 kB / 1.168 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.8866, allocations: 12 kB / 1.168 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.8866, allocations: 4 kB / 1.168 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8867, allocations: 11.88 kB / 1.168 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.889, allocations: 1.225 MB / 1.169 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.8896, allocations: 291.6 kB / 1.17 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.8898, allocations: 19.92 kB / 1.17 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.891, allocations: 67.97 kB / 1.17 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.8912, allocations: 47.89 kB / 1.17 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.8912, allocations: 23.98 kB / 1.17 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001592/0.8928, allocations: 0.913 MB / 1.171 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8929, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001255/0.8941, allocations: 407.4 kB / 1.171 GB, free: 14.03 MB / 0.9356 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005123/0.8946, allocations: 219 kB / 1.171 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.897, allocations: 1.001 MB / 1.172 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.897, allocations: 3.984 kB / 1.172 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.8977, allocations: 336.5 kB / 1.173 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.9, allocations: 431.3 kB / 1.173 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.9031, allocations: 2.043 MB / 1.175 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.9037, allocations: 1.049 MB / 1.176 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.9042, allocations: 99.38 kB / 1.176 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of SimCode: time 8.91e-07/0.9042, allocations: 0 / 1.176 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of Templates: time 0.02485/0.9291, allocations: 16.21 MB / 1.192 GB, free: 8.711 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches