Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008419/0.008419, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.001764/0.001764, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.903/2.903, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3843, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.2/1.585, allocations: 190.2 MB / 1.406 GB, free: 432 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008965/1.593, allocations: 4.291 MB / 1.411 GB, free: 12.92 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/1.595, allocations: 28.38 kB / 1.411 GB, free: 12.91 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/1.597, allocations: 0.5197 MB / 1.411 GB, free: 12.47 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/1.602, allocations: 1.63 MB / 1.413 GB, free: 11.2 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/1.607, allocations: 1.355 MB / 1.414 GB, free: 10.22 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004282/1.611, allocations: 2.272 MB / 1.416 GB, free: 8.883 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/1.613, allocations: 0.9415 MB / 1.417 GB, free: 8.207 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/1.615, allocations: 0.97 MB / 1.418 GB, free: 7.633 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/1.617, allocations: 0.8742 MB / 1.419 GB, free: 7.055 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000541/1.618, allocations: 143.5 kB / 1.419 GB, free: 7.051 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/1.621, allocations: 1.248 MB / 1.42 GB, free: 6.406 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007562/1.622, allocations: 428.4 kB / 1.421 GB, free: 6.074 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001436/1.623, allocations: 0.6463 MB / 1.421 GB, free: 5.602 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/1.627, allocations: 1.982 MB / 1.423 GB, free: 4.211 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.627, allocations: 0 / 1.423 GB, free: 4.211 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.483e-06/1.627, allocations: 4 kB / 1.423 GB, free: 4.207 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.377e-05/1.627, allocations: 0 / 1.423 GB, free: 4.207 MB / 1.107 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.005593/1.633, allocations: 1.762 MB / 1.425 GB, free: 2.895 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.633, allocations: 14.45 kB / 1.425 GB, free: 2.891 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/1.634, allocations: 185.1 kB / 1.425 GB, free: 2.801 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/1.636, allocations: 1.084 MB / 1.426 GB, free: 1.98 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/1.637, allocations: 41.75 kB / 1.426 GB, free: 1.965 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.637, allocations: 65.22 kB / 1.426 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/1.638, allocations: 0.61 MB / 1.427 GB, free: 1.59 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.638, allocations: 6.625 kB / 1.427 GB, free: 1.586 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/1.638, allocations: 17.03 kB / 1.427 GB, free: 1.574 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/1.638, allocations: 20.16 kB / 1.427 GB, free: 1.57 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/1.64, allocations: 0.6185 MB / 1.428 GB, free: 1.254 MB / 1.107 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.004995/1.645, allocations: 2.667 MB / 1.43 GB, free: 14.45 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.646, allocations: 0.5138 MB / 1.431 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/1.646, allocations: 336.5 kB / 1.431 GB, free: 13.59 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/1.647, allocations: 283.3 kB / 1.431 GB, free: 13.26 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.647, allocations: 38.5 kB / 1.431 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008382/1.648, allocations: 147.6 kB / 1.431 GB, free: 13.07 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 5.19e-06/1.648, allocations: 0 / 1.431 GB, free: 13.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=43): time 0.002536/1.65, allocations: 1.021 MB / 1.432 GB, free: 12.04 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/1.65, allocations: 59.41 kB / 1.432 GB, free: 11.97 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/1.653, allocations: 1.275 MB / 1.434 GB, free: 10.68 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.527e-05/1.653, allocations: 37.7 kB / 1.434 GB, free: 10.64 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/1.653, allocations: 434 kB / 1.434 GB, free: 10.21 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/1.653, allocations: 154.6 kB / 1.434 GB, free: 10.06 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.653, allocations: 126 kB / 1.434 GB, free: 9.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.654, allocations: 322 kB / 1.435 GB, free: 9.609 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/1.654, allocations: 270.2 kB / 1.435 GB, free: 9.344 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/1.655, allocations: 489.2 kB / 1.435 GB, free: 8.789 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.656, allocations: 0.5869 MB / 1.436 GB, free: 8.199 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.656, allocations: 0 / 1.436 GB, free: 8.199 MB / 1.123 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001629/1.658, allocations: 0.742 MB / 1.437 GB, free: 7.449 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.658, allocations: 4 kB / 1.437 GB, free: 7.445 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.658, allocations: 4.438 kB / 1.437 GB, free: 7.441 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.658, allocations: 8 kB / 1.437 GB, free: 7.434 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/1.658, allocations: 123.8 kB / 1.437 GB, free: 7.312 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.658, allocations: 0 / 1.437 GB, free: 7.312 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.66, allocations: 101.7 kB / 1.437 GB, free: 7.219 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/1.66, allocations: 19.98 kB / 1.437 GB, free: 7.199 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008393/1.661, allocations: 467.9 kB / 1.437 GB, free: 6.738 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007406/1.661, allocations: 491.5 kB / 1.438 GB, free: 6.18 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/1.663, allocations: 0.576 MB / 1.438 GB, free: 5.598 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/1.663, allocations: 0 / 1.438 GB, free: 5.598 MB / 1.123 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001573/1.664, allocations: 0.7427 MB / 1.439 GB, free: 4.848 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.664, allocations: 11.94 kB / 1.439 GB, free: 4.836 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/1.664, allocations: 0 / 1.439 GB, free: 4.836 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/1.664, allocations: 4 kB / 1.439 GB, free: 4.832 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/1.665, allocations: 123.8 kB / 1.439 GB, free: 4.711 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.665, allocations: 4 kB / 1.439 GB, free: 4.707 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.666, allocations: 124.2 kB / 1.439 GB, free: 4.586 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/1.666, allocations: 27.97 kB / 1.44 GB, free: 4.559 MB / 1.123 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.0002252/1.666, allocations: 200.2 kB / 1.44 GB, free: 4.355 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/1.667, allocations: 115.2 kB / 1.44 GB, free: 4.242 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/1.668, allocations: 0.8081 MB / 1.441 GB, free: 3.426 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.668, allocations: 8 kB / 1.441 GB, free: 3.418 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.668, allocations: 0 / 1.441 GB, free: 3.418 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.668, allocations: 3.984 kB / 1.441 GB, free: 3.414 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/1.672, allocations: 1.953 MB / 1.443 GB, free: 1.379 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.672, allocations: 8.281 kB / 1.443 GB, free: 1.371 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/1.672, allocations: 103.9 kB / 1.443 GB, free: 1.27 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/1.672, allocations: 4 kB / 1.443 GB, free: 1.266 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/1.672, allocations: 19.92 kB / 1.443 GB, free: 1.246 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.672, allocations: 11.88 kB / 1.443 GB, free: 1.234 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.672, allocations: 4 kB / 1.443 GB, free: 1.23 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/1.675, allocations: 1.237 MB / 1.444 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005428/1.675, allocations: 288.2 kB / 1.444 GB, free: 15.65 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/1.675, allocations: 15.98 kB / 1.444 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.676, allocations: 68.8 kB / 1.444 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.677, allocations: 43.94 kB / 1.444 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/1.677, allocations: 16 kB / 1.444 GB, free: 15.51 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001621/1.678, allocations: 0.9247 MB / 1.445 GB, free: 14.58 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.678, allocations: 0 / 1.445 GB, free: 14.58 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001562/1.68, allocations: 407.5 kB / 1.446 GB, free: 14.18 MB / 1.139 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.0006531/1.68, allocations: 226 kB / 1.446 GB, free: 13.96 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002126/1.683, allocations: 0.9094 MB / 1.447 GB, free: 13.05 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.683, allocations: 0 / 1.447 GB, free: 13.05 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006425/1.683, allocations: 312.2 kB / 1.447 GB, free: 12.75 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.685, allocations: 432 kB / 1.447 GB, free: 12.33 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/1.689, allocations: 1.711 MB / 1.449 GB, free: 10.55 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/1.689, allocations: 1.049 MB / 1.45 GB, free: 9.473 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001214/1.691, allocations: 291 kB / 1.45 GB, free: 9.184 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/1.691, allocations: 95.38 kB / 1.45 GB, free: 9.09 MB / 1.139 GB Notification: Performance of SimCode: time 1.072e-06/1.691, allocations: 0 / 1.45 GB, free: 9.09 MB / 1.139 GB Notification: Performance of Templates: time 0.03883/1.73, allocations: 21.52 MB / 1.471 GB, free: 3.82 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches