Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002574/0.002574, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.003816/0.003817, allocations: 194.3 kB / 16.14 MB, free: 6.633 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.856/2.856, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.84 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7659/0.7679, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2498/1.018, allocations: 187.5 MB / 1.2 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009745/1.028, allocations: 4.318 MB / 1.204 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/1.03, allocations: 23.81 kB / 1.204 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/1.031, allocations: 417.7 kB / 1.204 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004986/1.037, allocations: 1.467 MB / 1.206 GB, free: 444 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/1.041, allocations: 1.234 MB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004746/1.045, allocations: 2.771 MB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/1.047, allocations: 0.9304 MB / 1.211 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/1.049, allocations: 0.8365 MB / 1.211 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/1.051, allocations: 0.8365 MB / 1.212 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/1.051, allocations: 64 kB / 1.212 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/1.054, allocations: 1.376 MB / 1.214 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005004/1.054, allocations: 354.7 kB / 1.214 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008504/1.055, allocations: 0.5672 MB / 1.215 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/1.059, allocations: 1.998 MB / 1.216 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/1.059, allocations: 0 / 1.216 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.978e-06/1.059, allocations: 3.984 kB / 1.216 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.23e-05/1.059, allocations: 0 / 1.216 GB, free: 5.438 MB / 0.9669 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.005221/1.064, allocations: 1.722 MB / 1.218 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/1.064, allocations: 11.98 kB / 1.218 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.065, allocations: 190.4 kB / 1.218 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/1.067, allocations: 1.034 MB / 1.219 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/1.068, allocations: 52.92 kB / 1.219 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/1.068, allocations: 56 kB / 1.219 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/1.069, allocations: 0.6192 MB / 1.22 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.069, allocations: 0 / 1.22 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/1.069, allocations: 20 kB / 1.22 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/1.069, allocations: 17 kB / 1.22 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/1.071, allocations: 0.6285 MB / 1.221 GB, free: 0.9727 MB / 0.9669 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.004896/1.076, allocations: 2.665 MB / 1.223 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/1.077, allocations: 0.5352 MB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/1.078, allocations: 353.3 kB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004851/1.078, allocations: 291.2 kB / 1.224 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/1.078, allocations: 46.48 kB / 1.224 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000951/1.079, allocations: 163.4 kB / 1.225 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 4.439e-06/1.079, allocations: 4 kB / 1.225 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.00268/1.082, allocations: 1.009 MB / 1.226 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/1.082, allocations: 59.34 kB / 1.226 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/1.084, allocations: 1.267 MB / 1.227 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.602e-05/1.084, allocations: 37.7 kB / 1.227 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/1.085, allocations: 433.7 kB / 1.227 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/1.085, allocations: 161.7 kB / 1.228 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/1.085, allocations: 110 kB / 1.228 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.086, allocations: 322 kB / 1.228 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/1.086, allocations: 270.2 kB / 1.228 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000899/1.087, allocations: 0.4908 MB / 1.229 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.088, allocations: 0.5908 MB / 1.229 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.088, allocations: 0 / 1.229 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001772/1.09, allocations: 0.734 MB / 1.23 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.09, allocations: 4 kB / 1.23 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.09, allocations: 8 kB / 1.23 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.09, allocations: 0 / 1.23 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/1.091, allocations: 115.8 kB / 1.23 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/1.091, allocations: 0 / 1.23 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.092, allocations: 123.6 kB / 1.23 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/1.092, allocations: 19.97 kB / 1.23 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00102/1.093, allocations: 471.8 kB / 1.231 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008448/1.094, allocations: 482 kB / 1.231 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001251/1.096, allocations: 0.585 MB / 1.232 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/1.096, allocations: 0 / 1.232 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001773/1.097, allocations: 0.7394 MB / 1.232 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.097, allocations: 4 kB / 1.232 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.097, allocations: 0 / 1.232 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.097, allocations: 7.938 kB / 1.232 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/1.098, allocations: 127.8 kB / 1.233 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.098, allocations: 0 / 1.233 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/1.1, allocations: 132.3 kB / 1.233 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/1.1, allocations: 27.97 kB / 1.233 GB, free: 4.203 MB / 0.9825 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.0002725/1.1, allocations: 209.9 kB / 1.233 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/1.1, allocations: 102.7 kB / 1.233 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/1.102, allocations: 0.8109 MB / 1.234 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/1.102, allocations: 8 kB / 1.234 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.102, allocations: 0 / 1.234 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.102, allocations: 3.984 kB / 1.234 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/1.106, allocations: 1.949 MB / 1.236 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.106, allocations: 8.031 kB / 1.236 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/1.107, allocations: 103.9 kB / 1.236 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/1.107, allocations: 15.94 kB / 1.236 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/1.107, allocations: 12 kB / 1.236 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/1.107, allocations: 4 kB / 1.236 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.107, allocations: 7.938 kB / 1.236 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/1.109, allocations: 1.228 MB / 1.237 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006253/1.11, allocations: 291.6 kB / 1.237 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/1.11, allocations: 16 kB / 1.237 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.111, allocations: 75.91 kB / 1.237 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.111, allocations: 35.95 kB / 1.237 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/1.111, allocations: 23.98 kB / 1.237 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001826/1.113, allocations: 0.9207 MB / 1.238 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.113, allocations: 0 / 1.238 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001597/1.115, allocations: 407.4 kB / 1.239 GB, free: 13.83 MB / 0.9981 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.0006593/1.115, allocations: 227.3 kB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00257/1.118, allocations: 0.9357 MB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.118, allocations: 4 kB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007091/1.119, allocations: 335.6 kB / 1.24 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.121, allocations: 458.7 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/1.125, allocations: 1.995 MB / 1.243 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007877/1.126, allocations: 1.045 MB / 1.244 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00155/1.127, allocations: 291.1 kB / 1.244 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.128, allocations: 95.39 kB / 1.244 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of SimCode: time 1.322e-06/1.128, allocations: 0 / 1.244 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of Templates: time 0.6805/1.808, allocations: 20.59 MB / 1.264 GB, free: 231.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches