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.008317/0.008317, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.00227/0.00227, allocations: 198.7 kB / 16.68 MB, free: 5.953 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.453/1.453, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 75.88 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2222/1.248, allocations: 189.7 MB / 1.393 GB, free: 15.25 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008257/1.256, allocations: 4.281 MB / 1.397 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/1.258, allocations: 27.81 kB / 1.397 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/1.26, allocations: 0.4967 MB / 1.398 GB, free: 10.43 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00553/1.265, allocations: 1.567 MB / 1.399 GB, free: 8.852 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/1.269, allocations: 1.342 MB / 1.4 GB, free: 7.52 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004012/1.273, allocations: 2.272 MB / 1.403 GB, free: 5.246 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/1.275, allocations: 1.077 MB / 1.404 GB, free: 4.156 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/1.277, allocations: 0.9693 MB / 1.405 GB, free: 3.184 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/1.279, allocations: 0.8717 MB / 1.406 GB, free: 2.309 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002704/1.279, allocations: 140 kB / 1.406 GB, free: 2.172 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/1.282, allocations: 1.243 MB / 1.407 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/1.282, allocations: 422.7 kB / 1.407 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007542/1.283, allocations: 0.6493 MB / 1.408 GB, free: 15.86 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/1.286, allocations: 1.972 MB / 1.41 GB, free: 13.88 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.286, allocations: 4 kB / 1.41 GB, free: 13.88 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.364e-06/1.286, allocations: 0 / 1.41 GB, free: 13.88 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.847e-05/1.286, allocations: 0 / 1.41 GB, free: 13.88 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.004448/1.29, allocations: 1.712 MB / 1.412 GB, free: 12.11 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.29, allocations: 12.03 kB / 1.412 GB, free: 12.1 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009317/1.291, allocations: 190.4 kB / 1.412 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.293, allocations: 1.068 MB / 1.413 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/1.293, allocations: 52.98 kB / 1.413 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.293, allocations: 59.94 kB / 1.413 GB, free: 10.68 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/1.295, allocations: 0.6115 MB / 1.413 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.295, allocations: 0 / 1.413 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/1.295, allocations: 20 kB / 1.414 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/1.295, allocations: 24.94 kB / 1.414 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/1.296, allocations: 0.6246 MB / 1.414 GB, free: 9.395 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.004594/1.301, allocations: 2.661 MB / 1.417 GB, free: 6.594 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.302, allocations: 0.5359 MB / 1.417 GB, free: 6.051 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/1.303, allocations: 349.4 kB / 1.418 GB, free: 5.707 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/1.303, allocations: 299.2 kB / 1.418 GB, free: 5.359 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.303, allocations: 38.56 kB / 1.418 GB, free: 5.312 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007298/1.304, allocations: 139.5 kB / 1.418 GB, free: 5.176 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 4.017e-06/1.304, allocations: 0 / 1.418 GB, free: 5.176 MB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.002455/1.306, allocations: 1.023 MB / 1.419 GB, free: 4.145 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/1.306, allocations: 55.41 kB / 1.419 GB, free: 4.078 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/1.308, allocations: 1.267 MB / 1.42 GB, free: 2.793 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.843e-05/1.309, allocations: 41.7 kB / 1.42 GB, free: 2.746 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/1.309, allocations: 441.7 kB / 1.421 GB, free: 2.309 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/1.309, allocations: 145.8 kB / 1.421 GB, free: 2.164 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/1.309, allocations: 118 kB / 1.421 GB, free: 2.043 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.309, allocations: 322 kB / 1.421 GB, free: 1.723 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/1.31, allocations: 270.2 kB / 1.422 GB, free: 1.457 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007893/1.311, allocations: 489.3 kB / 1.422 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.312, allocations: 0.583 MB / 1.423 GB, free: 324 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.312, allocations: 4 kB / 1.423 GB, free: 320 kB / 1.139 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001685/1.314, allocations: 0.7531 MB / 1.423 GB, free: 15.55 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.314, allocations: 6.031 kB / 1.423 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.314, allocations: 0 / 1.423 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.314, allocations: 0 / 1.423 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/1.315, allocations: 119.8 kB / 1.424 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/1.315, allocations: 4 kB / 1.424 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.316, allocations: 95.81 kB / 1.424 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/1.316, allocations: 23.97 kB / 1.424 GB, free: 15.31 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008629/1.317, allocations: 463.9 kB / 1.424 GB, free: 14.85 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007921/1.318, allocations: 489.7 kB / 1.425 GB, free: 14.29 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/1.319, allocations: 0.5804 MB / 1.425 GB, free: 13.71 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/1.319, allocations: 3.938 kB / 1.425 GB, free: 13.7 MB / 1.154 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001719/1.321, allocations: 0.7305 MB / 1.426 GB, free: 12.96 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.321, allocations: 4 kB / 1.426 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.321, allocations: 4 kB / 1.426 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/1.321, allocations: 0 / 1.426 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/1.321, allocations: 119.8 kB / 1.426 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.321, allocations: 0 / 1.426 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.323, allocations: 132.2 kB / 1.426 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/1.323, allocations: 23.97 kB / 1.426 GB, free: 12.69 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.0002577/1.323, allocations: 208.2 kB / 1.426 GB, free: 12.48 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/1.324, allocations: 102.7 kB / 1.426 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/1.325, allocations: 0.807 MB / 1.427 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.325, allocations: 8 kB / 1.427 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/1.325, allocations: 0 / 1.427 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.325, allocations: 3.984 kB / 1.427 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/1.329, allocations: 1.956 MB / 1.429 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.329, allocations: 0 / 1.429 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/1.33, allocations: 111.8 kB / 1.429 GB, free: 9.398 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/1.33, allocations: 11.88 kB / 1.429 GB, free: 9.387 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/1.33, allocations: 16 kB / 1.429 GB, free: 9.371 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/1.33, allocations: 11.92 kB / 1.429 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.33, allocations: 4 kB / 1.429 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/1.332, allocations: 1.238 MB / 1.43 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/1.333, allocations: 283.7 kB / 1.431 GB, free: 7.773 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/1.333, allocations: 12 kB / 1.431 GB, free: 7.762 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.334, allocations: 67.84 kB / 1.431 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.334, allocations: 39.95 kB / 1.431 GB, free: 7.656 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/1.334, allocations: 23.98 kB / 1.431 GB, free: 7.633 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001837/1.336, allocations: 0.9169 MB / 1.432 GB, free: 6.707 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.336, allocations: 0 / 1.432 GB, free: 6.707 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001479/1.338, allocations: 407.4 kB / 1.432 GB, free: 6.309 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.0005459/1.338, allocations: 218.2 kB / 1.432 GB, free: 6.094 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002172/1.34, allocations: 0.9409 MB / 1.433 GB, free: 5.156 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.34, allocations: 0 / 1.433 GB, free: 5.156 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006676/1.341, allocations: 343.5 kB / 1.434 GB, free: 4.82 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.343, allocations: 434.6 kB / 1.434 GB, free: 4.398 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/1.346, allocations: 1.667 MB / 1.436 GB, free: 2.672 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/1.347, allocations: 1.049 MB / 1.437 GB, free: 1.594 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001296/1.348, allocations: 299 kB / 1.437 GB, free: 1.297 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/1.349, allocations: 87.39 kB / 1.437 GB, free: 1.211 MB / 1.154 GB Notification: Performance of SimCode: time 1.383e-06/1.349, allocations: 4 kB / 1.437 GB, free: 1.207 MB / 1.154 GB Notification: Performance of Templates: time 0.03851/1.387, allocations: 21.4 MB / 1.458 GB, free: 12.05 MB / 1.186 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/jenkins/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