Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.005138/0.005138, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001135/0.001135, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 75.88 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8105, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1841/0.9947, allocations: 177.2 MB / 1.34 GB, free: 1.984 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007277/1.002, allocations: 4.392 MB / 1.344 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/1.003, allocations: 31.81 kB / 1.344 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/1.004, allocations: 369.8 kB / 1.344 GB, free: 13.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003103/1.007, allocations: 1.303 MB / 1.346 GB, free: 11.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/1.009, allocations: 0.6964 MB / 1.346 GB, free: 11.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001939/1.011, allocations: 1.629 MB / 1.348 GB, free: 9.559 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007209/1.012, allocations: 0.5175 MB / 1.348 GB, free: 9.035 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/1.013, allocations: 0.7042 MB / 1.349 GB, free: 8.328 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009735/1.014, allocations: 486 kB / 1.349 GB, free: 7.852 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.058e-05/1.014, allocations: 52 kB / 1.35 GB, free: 7.801 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/1.017, allocations: 1.309 MB / 1.351 GB, free: 6.488 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/1.017, allocations: 235.4 kB / 1.351 GB, free: 6.258 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004349/1.018, allocations: 342.4 kB / 1.351 GB, free: 5.922 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/1.02, allocations: 1.293 MB / 1.353 GB, free: 4.625 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.02, allocations: 0 / 1.353 GB, free: 4.625 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/1.02, allocations: 0 / 1.353 GB, free: 4.625 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.02, allocations: 0 / 1.353 GB, free: 4.625 MB / 1.076 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.00163/1.022, allocations: 1.027 MB / 1.354 GB, free: 3.547 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.022, allocations: 8.922 kB / 1.354 GB, free: 3.539 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/1.023, allocations: 175.5 kB / 1.354 GB, free: 3.367 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009848/1.024, allocations: 0.564 MB / 1.354 GB, free: 2.762 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/1.024, allocations: 29 kB / 1.354 GB, free: 2.734 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/1.024, allocations: 47.95 kB / 1.354 GB, free: 2.688 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/1.025, allocations: 470.3 kB / 1.355 GB, free: 2.223 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/1.025, allocations: 3.984 kB / 1.355 GB, free: 2.219 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/1.025, allocations: 16 kB / 1.355 GB, free: 2.203 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/1.025, allocations: 13 kB / 1.355 GB, free: 2.188 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/1.026, allocations: 419.7 kB / 1.355 GB, free: 1.781 MB / 1.076 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.002796/1.029, allocations: 2.036 MB / 1.357 GB, free: 15.56 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/1.029, allocations: 290.8 kB / 1.358 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/1.03, allocations: 187 kB / 1.358 GB, free: 15.09 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/1.03, allocations: 194.2 kB / 1.358 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.03, allocations: 42.5 kB / 1.358 GB, free: 14.81 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 4.238e-06/1.03, allocations: 3.984 kB / 1.358 GB, free: 14.8 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.001683/1.032, allocations: 0.6435 MB / 1.359 GB, free: 14.13 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/1.032, allocations: 51.41 kB / 1.359 GB, free: 14.07 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/1.032, allocations: 450 kB / 1.359 GB, free: 13.62 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/1.032, allocations: 33.7 kB / 1.359 GB, free: 13.58 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/1.033, allocations: 284.6 kB / 1.359 GB, free: 13.3 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.033, allocations: 115 kB / 1.359 GB, free: 13.18 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.033, allocations: 73.59 kB / 1.36 GB, free: 13.11 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.033, allocations: 358.8 kB / 1.36 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/1.033, allocations: 132.8 kB / 1.36 GB, free: 12.61 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/1.033, allocations: 215.8 kB / 1.36 GB, free: 12.38 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/1.034, allocations: 330.5 kB / 1.361 GB, free: 12.04 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.034, allocations: 0 / 1.361 GB, free: 12.04 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006983/1.035, allocations: 409 kB / 1.361 GB, free: 11.63 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.035, allocations: 4 kB / 1.361 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.035, allocations: 4 kB / 1.361 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.035, allocations: 0 / 1.361 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/1.035, allocations: 79.98 kB / 1.361 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/1.035, allocations: 4 kB / 1.361 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/1.036, allocations: 35.77 kB / 1.361 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/1.036, allocations: 16 kB / 1.361 GB, free: 11.49 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004225/1.036, allocations: 288 kB / 1.361 GB, free: 11.21 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003078/1.036, allocations: 202.8 kB / 1.362 GB, free: 10.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005484/1.037, allocations: 317 kB / 1.362 GB, free: 10.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/1.037, allocations: 4 kB / 1.362 GB, free: 10.65 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000683/1.038, allocations: 409.3 kB / 1.362 GB, free: 10.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.038, allocations: 11.94 kB / 1.362 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/1.038, allocations: 0 / 1.362 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.038, allocations: 4 kB / 1.362 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/1.038, allocations: 75.98 kB / 1.362 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.038, allocations: 4 kB / 1.362 GB, free: 10.15 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/1.038, allocations: 27.88 kB / 1.362 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/1.038, allocations: 12 kB / 1.362 GB, free: 10.11 MB / 1.092 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.0001418/1.039, allocations: 200.2 kB / 1.363 GB, free: 9.91 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/1.039, allocations: 59.59 kB / 1.363 GB, free: 9.852 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000828/1.04, allocations: 411.1 kB / 1.363 GB, free: 9.441 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.04, allocations: 4 kB / 1.363 GB, free: 9.438 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.04, allocations: 0 / 1.363 GB, free: 9.438 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000685/1.04, allocations: 454.4 kB / 1.363 GB, free: 8.961 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/1.042, allocations: 1.134 MB / 1.365 GB, free: 7.746 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.042, allocations: 8.031 kB / 1.365 GB, free: 7.738 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/1.042, allocations: 63.83 kB / 1.365 GB, free: 7.676 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/1.043, allocations: 44.83 kB / 1.365 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/1.043, allocations: 8 kB / 1.365 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/1.044, allocations: 1.555 MB / 1.366 GB, free: 5.93 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.044, allocations: 4 kB / 1.366 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/1.045, allocations: 0.6931 MB / 1.367 GB, free: 5.191 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/1.045, allocations: 164.7 kB / 1.367 GB, free: 5.012 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/1.045, allocations: 11.98 kB / 1.367 GB, free: 5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/1.046, allocations: 15.98 kB / 1.367 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/1.046, allocations: 31.84 kB / 1.367 GB, free: 4.953 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/1.046, allocations: 20.06 kB / 1.367 GB, free: 4.934 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003345/1.046, allocations: 314.9 kB / 1.367 GB, free: 4.629 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.1e-07/1.046, allocations: 0 / 1.367 GB, free: 4.629 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007995/1.047, allocations: 299.5 kB / 1.368 GB, free: 4.336 MB / 1.092 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.000409/1.047, allocations: 202.1 kB / 1.368 GB, free: 4.137 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000923/1.048, allocations: 489.7 kB / 1.368 GB, free: 3.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.048, allocations: 0.625 kB / 1.368 GB, free: 3.66 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004659/1.049, allocations: 290.3 kB / 1.369 GB, free: 3.363 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.05, allocations: 297 kB / 1.369 GB, free: 3.082 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/1.052, allocations: 1.102 MB / 1.37 GB, free: 1.93 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/1.052, allocations: 0.9014 MB / 1.371 GB, free: 1 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004519/1.053, allocations: 160.4 kB / 1.371 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/1.053, allocations: 43.42 kB / 1.371 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of SimCode: time 7.91e-07/1.053, allocations: 4 kB / 1.371 GB, free: 0.793 MB / 1.092 GB Notification: Performance of Templates: time 0.02065/1.073, allocations: 10.27 MB / 1.381 GB, free: 6.691 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches