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.006956/0.006956, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.001655/0.001655, allocations: 192 kB / 16.67 MB, free: 6.391 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.751/2.751, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 59 kB / 0.9508 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3856, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.192/1.578, allocations: 189.7 MB / 1.273 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009984/1.588, allocations: 4.291 MB / 1.277 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/1.59, allocations: 29.38 kB / 1.277 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/1.592, allocations: 0.5047 MB / 1.278 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005601/1.597, allocations: 1.634 MB / 1.279 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004788/1.602, allocations: 1.359 MB / 1.281 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005167/1.607, allocations: 2.268 MB / 1.283 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/1.609, allocations: 1.078 MB / 1.284 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/1.612, allocations: 0.9689 MB / 1.285 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/1.613, allocations: 0.8761 MB / 1.286 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/1.613, allocations: 140 kB / 1.286 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/1.617, allocations: 1.249 MB / 1.287 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005747/1.617, allocations: 418.9 kB / 1.288 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000916/1.618, allocations: 0.6496 MB / 1.288 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003816/1.622, allocations: 1.977 MB / 1.29 GB, free: 3.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.622, allocations: 1.938 kB / 1.29 GB, free: 3.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.804e-06/1.622, allocations: 1.031 kB / 1.29 GB, free: 3.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.304e-05/1.622, allocations: 0 / 1.29 GB, free: 3.148 MB / 1.014 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.004506/1.627, allocations: 1.766 MB / 1.292 GB, free: 2.277 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.379e-05/1.627, allocations: 11.62 kB / 1.292 GB, free: 2.277 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/1.628, allocations: 193.1 kB / 1.292 GB, free: 2.211 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.63, allocations: 1.082 MB / 1.293 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/1.63, allocations: 47.06 kB / 1.293 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/1.63, allocations: 55.34 kB / 1.293 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/1.631, allocations: 0.6116 MB / 1.294 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.631, allocations: 0 / 1.294 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/1.631, allocations: 21.72 kB / 1.294 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/1.631, allocations: 23.58 kB / 1.294 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/1.633, allocations: 0.6236 MB / 1.294 GB, free: 1.793 MB / 1.014 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.004615/1.638, allocations: 2.666 MB / 1.297 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/1.639, allocations: 0.5393 MB / 1.298 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/1.64, allocations: 347.8 kB / 1.298 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/1.64, allocations: 296 kB / 1.298 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.64, allocations: 39.62 kB / 1.298 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006893/1.641, allocations: 146 kB / 1.298 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/1.641, allocations: 2.234 kB / 1.298 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.002459/1.643, allocations: 1.026 MB / 1.299 GB, free: 500 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/1.643, allocations: 61.28 kB / 1.299 GB, free: 432 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/1.646, allocations: 1.271 MB / 1.301 GB, free: 16.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/1.646, allocations: 38.89 kB / 1.301 GB, free: 16.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/1.646, allocations: 441.6 kB / 1.301 GB, free: 16.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.646, allocations: 158.5 kB / 1.301 GB, free: 16.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/1.646, allocations: 118 kB / 1.301 GB, free: 16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.647, allocations: 323.4 kB / 1.302 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/1.647, allocations: 270.6 kB / 1.302 GB, free: 15.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009839/1.648, allocations: 488.4 kB / 1.302 GB, free: 15.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/1.649, allocations: 0.5887 MB / 1.303 GB, free: 15.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.649, allocations: 0.9062 kB / 1.303 GB, free: 15.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001656/1.651, allocations: 0.7375 MB / 1.304 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.651, allocations: 5.094 kB / 1.304 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.651, allocations: 0.7812 kB / 1.304 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.651, allocations: 1.469 kB / 1.304 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/1.652, allocations: 130.8 kB / 1.304 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.652, allocations: 1.312 kB / 1.304 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.653, allocations: 94.77 kB / 1.304 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/1.653, allocations: 24.06 kB / 1.304 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/1.654, allocations: 468.7 kB / 1.304 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009462/1.655, allocations: 486.2 kB / 1.305 GB, free: 15.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001386/1.657, allocations: 0.5818 MB / 1.305 GB, free: 15.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/1.657, allocations: 3.094 kB / 1.305 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001889/1.659, allocations: 0.7356 MB / 1.306 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.659, allocations: 6.062 kB / 1.306 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/1.659, allocations: 0.9844 kB / 1.306 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/1.659, allocations: 3.031 kB / 1.306 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/1.659, allocations: 128.8 kB / 1.306 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.659, allocations: 7.188 kB / 1.306 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/1.661, allocations: 129.6 kB / 1.306 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/1.661, allocations: 22.59 kB / 1.306 GB, free: 14.95 MB / 1.029 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.0003232/1.661, allocations: 204.8 kB / 1.307 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/1.662, allocations: 107.2 kB / 1.307 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/1.664, allocations: 0.8113 MB / 1.308 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.664, allocations: 10.16 kB / 1.308 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/1.664, allocations: 0.9375 kB / 1.308 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.664, allocations: 2.953 kB / 1.308 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00409/1.668, allocations: 1.95 MB / 1.309 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.668, allocations: 3 kB / 1.31 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/1.669, allocations: 113.2 kB / 1.31 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/1.669, allocations: 4.438 kB / 1.31 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/1.669, allocations: 14.62 kB / 1.31 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/1.669, allocations: 11.22 kB / 1.31 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.669, allocations: 2.188 kB / 1.31 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/1.671, allocations: 1.236 MB / 1.311 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/1.672, allocations: 294.6 kB / 1.311 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/1.672, allocations: 15.34 kB / 1.311 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.673, allocations: 62.75 kB / 1.311 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.673, allocations: 47.38 kB / 1.311 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/1.673, allocations: 20.84 kB / 1.311 GB, free: 13.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00175/1.675, allocations: 0.9193 MB / 1.312 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/1.675, allocations: 0 / 1.312 GB, free: 13.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001962/1.677, allocations: 406.1 kB / 1.313 GB, free: 13.68 MB / 1.029 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.0006762/1.678, allocations: 226.5 kB / 1.313 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002658/1.68, allocations: 0.9463 MB / 1.314 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.68, allocations: 2.406 kB / 1.314 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000716/1.681, allocations: 339 kB / 1.314 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.683, allocations: 430.8 kB / 1.314 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/1.686, allocations: 1.715 MB / 1.316 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/1.687, allocations: 1.042 MB / 1.317 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001206/1.688, allocations: 286.3 kB / 1.317 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/1.689, allocations: 96.95 kB / 1.317 GB, free: 12.01 MB / 1.029 GB Notification: Performance of SimCode: time 3.006e-06/1.689, allocations: 0 / 1.317 GB, free: 12.01 MB / 1.029 GB Notification: Performance of Templates: time 0.03772/1.727, allocations: 21.42 MB / 1.338 GB, free: 7.492 MB / 1.029 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