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.001199/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001363/0.001364, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.481/2.481, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.8118 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8205, allocations: 140.4 MB / 0.9489 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2248/1.045, allocations: 187.5 MB / 1.132 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008254/1.054, allocations: 4.305 MB / 1.136 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/1.055, allocations: 31.81 kB / 1.136 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/1.057, allocations: 421.6 kB / 1.137 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003901/1.061, allocations: 1.459 MB / 1.138 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/1.064, allocations: 1.227 MB / 1.139 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003755/1.068, allocations: 2.786 MB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/1.069, allocations: 0.938 MB / 1.143 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/1.072, allocations: 0.8364 MB / 1.144 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/1.073, allocations: 0.8326 MB / 1.145 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/1.074, allocations: 72 kB / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/1.077, allocations: 1.372 MB / 1.146 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/1.077, allocations: 350.7 kB / 1.146 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000816/1.078, allocations: 0.5711 MB / 1.147 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/1.081, allocations: 1.994 MB / 1.149 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.081, allocations: 3.938 kB / 1.149 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.863e-06/1.081, allocations: 7.938 kB / 1.149 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.551e-05/1.081, allocations: 0 / 1.149 GB, free: 4.754 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.00484/1.086, allocations: 1.716 MB / 1.15 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/1.086, allocations: 12.03 kB / 1.15 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/1.087, allocations: 182.5 kB / 1.151 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/1.089, allocations: 1.033 MB / 1.152 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/1.089, allocations: 56.94 kB / 1.152 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/1.09, allocations: 59.94 kB / 1.152 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/1.091, allocations: 0.6154 MB / 1.152 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.091, allocations: 0 / 1.152 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/1.091, allocations: 16 kB / 1.152 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/1.091, allocations: 17 kB / 1.152 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/1.092, allocations: 0.6246 MB / 1.153 GB, free: 316 kB / 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.004535/1.097, allocations: 2.661 MB / 1.156 GB, free: 13.51 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/1.098, allocations: 0.543 MB / 1.156 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/1.099, allocations: 348.6 kB / 1.156 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/1.099, allocations: 292 kB / 1.157 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/1.099, allocations: 38.56 kB / 1.157 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008014/1.1, allocations: 167.5 kB / 1.157 GB, free: 12.06 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/1.1, allocations: 0 / 1.157 GB, free: 12.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002446/1.103, allocations: 1.016 MB / 1.158 GB, free: 11.04 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.103, allocations: 63.36 kB / 1.158 GB, free: 10.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.105, allocations: 1.279 MB / 1.159 GB, free: 9.668 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/1.105, allocations: 37.7 kB / 1.159 GB, free: 9.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/1.105, allocations: 429.7 kB / 1.16 GB, free: 9.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/1.105, allocations: 145.8 kB / 1.16 GB, free: 9.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/1.105, allocations: 121.9 kB / 1.16 GB, free: 8.934 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.106, allocations: 322 kB / 1.16 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/1.106, allocations: 274.2 kB / 1.16 GB, free: 8.344 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007987/1.107, allocations: 479 kB / 1.161 GB, free: 7.801 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/1.108, allocations: 0.5908 MB / 1.162 GB, free: 7.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.108, allocations: 0 / 1.162 GB, free: 7.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001654/1.11, allocations: 0.7415 MB / 1.162 GB, free: 6.457 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.11, allocations: 5.25 kB / 1.162 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.11, allocations: 0 / 1.162 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.11, allocations: 7.938 kB / 1.162 GB, free: 6.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/1.111, allocations: 123.8 kB / 1.162 GB, free: 6.324 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.111, allocations: 0 / 1.162 GB, free: 6.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.112, allocations: 119.6 kB / 1.162 GB, free: 6.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/1.112, allocations: 27.97 kB / 1.163 GB, free: 6.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009265/1.113, allocations: 463.9 kB / 1.163 GB, free: 5.723 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007715/1.114, allocations: 481.8 kB / 1.163 GB, free: 5.172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001146/1.115, allocations: 0.5804 MB / 1.164 GB, free: 4.582 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/1.115, allocations: 0 / 1.164 GB, free: 4.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001719/1.117, allocations: 0.7343 MB / 1.165 GB, free: 3.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/1.117, allocations: 4 kB / 1.165 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.117, allocations: 3.984 kB / 1.165 GB, free: 3.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/1.117, allocations: 4 kB / 1.165 GB, free: 3.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/1.117, allocations: 123.8 kB / 1.165 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.117, allocations: 4 kB / 1.165 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.119, allocations: 132.3 kB / 1.165 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/1.119, allocations: 19.98 kB / 1.165 GB, free: 3.555 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.0002678/1.119, allocations: 212.1 kB / 1.165 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/1.12, allocations: 106.7 kB / 1.165 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/1.121, allocations: 0.8031 MB / 1.166 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.121, allocations: 12 kB / 1.166 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.122, allocations: 0 / 1.166 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/1.122, allocations: 3.984 kB / 1.166 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/1.125, allocations: 1.956 MB / 1.168 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.125, allocations: 0 / 1.168 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/1.126, allocations: 107.9 kB / 1.168 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/1.126, allocations: 7.938 kB / 1.168 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/1.126, allocations: 12 kB / 1.168 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/1.126, allocations: 11.92 kB / 1.168 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.126, allocations: 4.281 kB / 1.168 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/1.128, allocations: 1.232 MB / 1.169 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/1.129, allocations: 291.6 kB / 1.17 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.129, allocations: 15.94 kB / 1.17 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.13, allocations: 67.97 kB / 1.17 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.13, allocations: 43.94 kB / 1.17 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/1.13, allocations: 19.94 kB / 1.17 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001443/1.132, allocations: 0.9247 MB / 1.171 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/1.132, allocations: 3.938 kB / 1.171 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001362/1.133, allocations: 403.4 kB / 1.171 GB, free: 13.17 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.0005687/1.134, allocations: 223.6 kB / 1.171 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002132/1.136, allocations: 0.9398 MB / 1.172 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.136, allocations: 0 / 1.172 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/1.136, allocations: 336.8 kB / 1.173 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.139, allocations: 463.6 kB / 1.173 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/1.142, allocations: 1.998 MB / 1.175 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/1.143, allocations: 1.038 MB / 1.176 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001481/1.144, allocations: 295 kB / 1.176 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/1.144, allocations: 99.38 kB / 1.176 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of SimCode: time 1.342e-06/1.145, allocations: 0 / 1.176 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of Templates: time 0.03655/1.181, allocations: 20.59 MB / 1.196 GB, free: 3.375 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/jenkins/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