Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001416/0.001416, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00149/0.00149, allocations: 186.2 kB / 17.34 MB, free: 5.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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 60.06 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8628/0.8643, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2104/1.075, allocations: 189.7 MB / 1.394 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008197/1.083, allocations: 4.282 MB / 1.398 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/1.085, allocations: 27.81 kB / 1.398 GB, free: 10.9 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/1.086, allocations: 0.5005 MB / 1.398 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004921/1.091, allocations: 1.559 MB / 1.4 GB, free: 8.828 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004407/1.096, allocations: 1.347 MB / 1.401 GB, free: 7.492 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003696/1.1, allocations: 2.268 MB / 1.403 GB, free: 5.219 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/1.102, allocations: 1.081 MB / 1.404 GB, free: 4.125 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/1.104, allocations: 0.9654 MB / 1.405 GB, free: 3.156 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/1.105, allocations: 0.8756 MB / 1.406 GB, free: 2.277 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005037/1.106, allocations: 140 kB / 1.406 GB, free: 2.141 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/1.109, allocations: 1.239 MB / 1.408 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006936/1.11, allocations: 422.7 kB / 1.408 GB, free: 496 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/1.111, allocations: 0.6454 MB / 1.409 GB, free: 15.83 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/1.114, allocations: 1.972 MB / 1.411 GB, free: 13.86 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.114, allocations: 0 / 1.411 GB, free: 13.86 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.744e-06/1.114, allocations: 0 / 1.411 GB, free: 13.86 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.769e-05/1.114, allocations: 0 / 1.411 GB, free: 13.86 MB / 1.139 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.005264/1.119, allocations: 1.724 MB / 1.412 GB, free: 12.08 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.119, allocations: 12.03 kB / 1.412 GB, free: 12.07 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.12, allocations: 186.4 kB / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/1.123, allocations: 1.072 MB / 1.413 GB, free: 10.76 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/1.123, allocations: 45 kB / 1.414 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/1.123, allocations: 63.94 kB / 1.414 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/1.124, allocations: 0.6076 MB / 1.414 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.124, allocations: 0 / 1.414 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/1.124, allocations: 20 kB / 1.414 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/1.124, allocations: 17 kB / 1.414 GB, free: 10 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/1.126, allocations: 0.6284 MB / 1.415 GB, free: 9.375 MB / 1.139 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.004176/1.13, allocations: 2.658 MB / 1.417 GB, free: 6.578 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.131, allocations: 0.5373 MB / 1.418 GB, free: 6.031 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000609/1.132, allocations: 351.8 kB / 1.418 GB, free: 5.688 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/1.132, allocations: 307.1 kB / 1.419 GB, free: 5.332 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.132, allocations: 38.56 kB / 1.419 GB, free: 5.285 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006416/1.133, allocations: 135.5 kB / 1.419 GB, free: 5.152 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/1.133, allocations: 0 / 1.419 GB, free: 5.152 MB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.002308/1.135, allocations: 1.019 MB / 1.42 GB, free: 4.125 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/1.135, allocations: 55.41 kB / 1.42 GB, free: 4.059 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/1.137, allocations: 1.279 MB / 1.421 GB, free: 2.762 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/1.137, allocations: 33.7 kB / 1.421 GB, free: 2.723 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/1.137, allocations: 433.7 kB / 1.421 GB, free: 2.293 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/1.138, allocations: 153.8 kB / 1.422 GB, free: 2.141 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.138, allocations: 114 kB / 1.422 GB, free: 2.023 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.138, allocations: 322 kB / 1.422 GB, free: 1.703 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/1.138, allocations: 290.1 kB / 1.422 GB, free: 1.418 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007757/1.139, allocations: 477.4 kB / 1.423 GB, free: 0.875 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.14, allocations: 0.5791 MB / 1.423 GB, free: 300 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/1.14, allocations: 0 / 1.423 GB, free: 300 kB / 1.139 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001613/1.142, allocations: 0.7569 MB / 1.424 GB, free: 15.53 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.142, allocations: 8 kB / 1.424 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.142, allocations: 3.984 kB / 1.424 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.142, allocations: 0 / 1.424 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/1.143, allocations: 119.8 kB / 1.424 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/1.143, allocations: 8 kB / 1.424 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.144, allocations: 91.8 kB / 1.424 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/1.144, allocations: 27.97 kB / 1.424 GB, free: 15.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008302/1.145, allocations: 467.9 kB / 1.425 GB, free: 14.81 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007414/1.146, allocations: 481.8 kB / 1.425 GB, free: 14.26 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00117/1.147, allocations: 0.5882 MB / 1.426 GB, free: 13.67 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/1.147, allocations: 0 / 1.426 GB, free: 13.67 MB / 1.154 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001574/1.149, allocations: 0.7343 MB / 1.427 GB, free: 12.93 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.149, allocations: 4 kB / 1.427 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/1.149, allocations: 0 / 1.427 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/1.149, allocations: 4 kB / 1.427 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/1.149, allocations: 111.8 kB / 1.427 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/1.149, allocations: 8 kB / 1.427 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.151, allocations: 128.2 kB / 1.427 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/1.151, allocations: 23.97 kB / 1.427 GB, free: 12.65 MB / 1.154 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.0002345/1.151, allocations: 205.7 kB / 1.427 GB, free: 12.45 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/1.151, allocations: 106.7 kB / 1.427 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/1.153, allocations: 0.807 MB / 1.428 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.153, allocations: 4 kB / 1.428 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.153, allocations: 4 kB / 1.428 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.153, allocations: 3.984 kB / 1.428 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/1.156, allocations: 1.952 MB / 1.43 GB, free: 9.477 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.156, allocations: 0 / 1.43 GB, free: 9.477 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/1.157, allocations: 111.8 kB / 1.43 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/1.157, allocations: 4.281 kB / 1.43 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/1.157, allocations: 16 kB / 1.43 GB, free: 9.348 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/1.157, allocations: 11.92 kB / 1.43 GB, free: 9.336 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/1.157, allocations: 4 kB / 1.43 GB, free: 9.332 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/1.159, allocations: 1.23 MB / 1.431 GB, free: 8.055 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/1.159, allocations: 291.7 kB / 1.431 GB, free: 7.75 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/1.16, allocations: 20 kB / 1.431 GB, free: 7.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009881/1.161, allocations: 71.91 kB / 1.432 GB, free: 7.66 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.161, allocations: 35.89 kB / 1.432 GB, free: 7.625 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/1.161, allocations: 23.98 kB / 1.432 GB, free: 7.602 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001423/1.162, allocations: 0.9247 MB / 1.432 GB, free: 6.668 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.51e-07/1.162, allocations: 0 / 1.432 GB, free: 6.668 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001241/1.163, allocations: 403.4 kB / 1.433 GB, free: 6.273 MB / 1.154 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.0005517/1.164, allocations: 220.6 kB / 1.433 GB, free: 6.059 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.166, allocations: 0.9409 MB / 1.434 GB, free: 5.121 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.166, allocations: 0 / 1.434 GB, free: 5.121 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/1.167, allocations: 339.5 kB / 1.434 GB, free: 4.789 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.169, allocations: 435.9 kB / 1.435 GB, free: 4.367 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/1.172, allocations: 1.716 MB / 1.436 GB, free: 2.586 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/1.172, allocations: 1.045 MB / 1.437 GB, free: 1.512 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/1.173, allocations: 95.39 kB / 1.438 GB, free: 1.418 MB / 1.154 GB Notification: Performance of SimCode: time 1.022e-06/1.173, allocations: 0 / 1.438 GB, free: 1.418 MB / 1.154 GB Notification: Performance of Templates: time 0.02795/1.201, allocations: 16.33 MB / 1.453 GB, free: 1.23 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches