Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001472/0.001472, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.401/1.401, allocations: 222.9 MB / 241 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.638/2.638, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 60.12 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8715, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2006/1.072, allocations: 177.1 MB / 1.381 GB, free: 11.81 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007638/1.08, allocations: 4.406 MB / 1.386 GB, free: 7.398 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/1.081, allocations: 27.81 kB / 1.386 GB, free: 7.371 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/1.082, allocations: 349.8 kB / 1.386 GB, free: 7.027 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003909/1.086, allocations: 1.256 MB / 1.387 GB, free: 5.766 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/1.089, allocations: 0.6946 MB / 1.388 GB, free: 5.074 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002512/1.091, allocations: 1.618 MB / 1.39 GB, free: 3.449 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009504/1.092, allocations: 0.5213 MB / 1.39 GB, free: 2.93 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/1.094, allocations: 0.6944 MB / 1.391 GB, free: 2.234 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/1.095, allocations: 498.6 kB / 1.391 GB, free: 1.75 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/1.095, allocations: 52 kB / 1.391 GB, free: 1.699 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/1.098, allocations: 1.294 MB / 1.393 GB, free: 412 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/1.098, allocations: 227.4 kB / 1.393 GB, free: 184 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006278/1.099, allocations: 350.4 kB / 1.393 GB, free: 15.83 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/1.102, allocations: 1.281 MB / 1.394 GB, free: 14.55 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.102, allocations: 0 / 1.394 GB, free: 14.55 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.573e-06/1.102, allocations: 0 / 1.394 GB, free: 14.55 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.025e-05/1.102, allocations: 0 / 1.394 GB, free: 14.55 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002031/1.104, allocations: 1.005 MB / 1.395 GB, free: 13.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.104, allocations: 11.97 kB / 1.395 GB, free: 13.48 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/1.105, allocations: 171 kB / 1.395 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.106, allocations: 0.5635 MB / 1.396 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/1.106, allocations: 37 kB / 1.396 GB, free: 12.67 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/1.106, allocations: 40 kB / 1.396 GB, free: 12.63 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008987/1.107, allocations: 466.3 kB / 1.397 GB, free: 12.17 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.107, allocations: 0 / 1.397 GB, free: 12.17 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/1.107, allocations: 19.98 kB / 1.397 GB, free: 12.15 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/1.107, allocations: 21 kB / 1.397 GB, free: 12.13 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/1.108, allocations: 419.7 kB / 1.397 GB, free: 11.72 MB / 1.123 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.002879/1.111, allocations: 2.035 MB / 1.399 GB, free: 9.504 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/1.111, allocations: 301.4 kB / 1.399 GB, free: 9.203 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/1.112, allocations: 182.6 kB / 1.399 GB, free: 9.023 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/1.112, allocations: 194.2 kB / 1.4 GB, free: 8.797 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/1.112, allocations: 46.5 kB / 1.4 GB, free: 8.742 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/1.112, allocations: 0 / 1.4 GB, free: 8.742 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.001635/1.114, allocations: 0.6335 MB / 1.4 GB, free: 8.082 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.114, allocations: 55.41 kB / 1.4 GB, free: 8.016 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/1.114, allocations: 453.9 kB / 1.401 GB, free: 7.559 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/1.114, allocations: 33.7 kB / 1.401 GB, free: 7.52 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/1.115, allocations: 284.1 kB / 1.401 GB, free: 7.238 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/1.115, allocations: 98.56 kB / 1.401 GB, free: 7.141 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.115, allocations: 69.61 kB / 1.401 GB, free: 7.066 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.115, allocations: 354.8 kB / 1.402 GB, free: 6.711 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/1.115, allocations: 132.8 kB / 1.402 GB, free: 6.578 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/1.115, allocations: 204.1 kB / 1.402 GB, free: 6.355 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/1.116, allocations: 337.5 kB / 1.402 GB, free: 6.008 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.116, allocations: 0 / 1.402 GB, free: 6.008 MB / 1.123 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007482/1.117, allocations: 404.8 kB / 1.403 GB, free: 5.605 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.117, allocations: 4 kB / 1.403 GB, free: 5.602 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.117, allocations: 0 / 1.403 GB, free: 5.602 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.117, allocations: 7.984 kB / 1.403 GB, free: 5.594 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/1.117, allocations: 79.94 kB / 1.403 GB, free: 5.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.117, allocations: 4 kB / 1.403 GB, free: 5.512 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/1.118, allocations: 39.66 kB / 1.403 GB, free: 5.473 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/1.118, allocations: 16 kB / 1.403 GB, free: 5.457 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004347/1.118, allocations: 292 kB / 1.403 GB, free: 5.168 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003031/1.119, allocations: 199.2 kB / 1.403 GB, free: 4.949 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005289/1.119, allocations: 329.2 kB / 1.404 GB, free: 4.609 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/1.119, allocations: 0 / 1.404 GB, free: 4.609 MB / 1.123 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.00071/1.12, allocations: 404.8 kB / 1.404 GB, free: 4.207 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.12, allocations: 11.94 kB / 1.404 GB, free: 4.195 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.12, allocations: 3.938 kB / 1.404 GB, free: 4.191 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/1.12, allocations: 4 kB / 1.404 GB, free: 4.188 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/1.12, allocations: 72 kB / 1.404 GB, free: 4.117 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.12, allocations: 4 kB / 1.404 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/1.121, allocations: 31.83 kB / 1.404 GB, free: 4.082 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/1.121, allocations: 11.98 kB / 1.404 GB, free: 4.07 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0001548/1.121, allocations: 204.1 kB / 1.404 GB, free: 3.863 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.121, allocations: 55.38 kB / 1.404 GB, free: 3.809 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008356/1.122, allocations: 415.4 kB / 1.405 GB, free: 3.395 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.122, allocations: 4 kB / 1.405 GB, free: 3.391 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.122, allocations: 0 / 1.405 GB, free: 3.391 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000692/1.122, allocations: 445.1 kB / 1.405 GB, free: 2.922 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/1.124, allocations: 1.143 MB / 1.406 GB, free: 1.699 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.124, allocations: 0 / 1.406 GB, free: 1.699 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/1.125, allocations: 59.91 kB / 1.406 GB, free: 1.641 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/1.125, allocations: 44.83 kB / 1.406 GB, free: 1.594 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/1.125, allocations: 8 kB / 1.406 GB, free: 1.586 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.126, allocations: 1.543 MB / 1.408 GB, free: 15.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.126, allocations: 0 / 1.408 GB, free: 15.9 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/1.127, allocations: 0.6934 MB / 1.409 GB, free: 15.17 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/1.128, allocations: 160.5 kB / 1.409 GB, free: 14.99 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/1.128, allocations: 8 kB / 1.409 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/1.128, allocations: 19.98 kB / 1.409 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/1.128, allocations: 31.84 kB / 1.409 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/1.128, allocations: 16 kB / 1.409 GB, free: 14.92 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003567/1.129, allocations: 318.9 kB / 1.409 GB, free: 14.61 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.129, allocations: 0 / 1.409 GB, free: 14.61 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009574/1.13, allocations: 299.3 kB / 1.409 GB, free: 14.32 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004699/1.13, allocations: 182.6 kB / 1.41 GB, free: 14.13 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009907/1.131, allocations: 0.4925 MB / 1.41 GB, free: 13.64 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.131, allocations: 8.188 kB / 1.41 GB, free: 13.63 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005102/1.132, allocations: 286.4 kB / 1.41 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.133, allocations: 300.8 kB / 1.411 GB, free: 13.05 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/1.135, allocations: 1.119 MB / 1.412 GB, free: 11.88 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/1.136, allocations: 0.9014 MB / 1.413 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/1.136, allocations: 39.44 kB / 1.413 GB, free: 10.91 MB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/1.136, allocations: 0 / 1.413 GB, free: 10.91 MB / 1.139 GB Notification: Performance of Templates: time 0.01519/1.151, allocations: 9.686 MB / 1.422 GB, free: 1.305 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches