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.007072/0.007072, allocations: 103.3 kB / 15.73 MB, free: 6.055 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.001604/0.001605, allocations: 194.8 kB / 16.68 MB, free: 5.965 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8369, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1884/1.025, allocations: 177.1 MB / 1.381 GB, free: 11.8 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007809/1.033, allocations: 4.404 MB / 1.385 GB, free: 7.391 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/1.035, allocations: 27.88 kB / 1.385 GB, free: 7.363 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/1.036, allocations: 353.7 kB / 1.385 GB, free: 7.016 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/1.04, allocations: 1.256 MB / 1.387 GB, free: 5.754 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/1.042, allocations: 0.6924 MB / 1.387 GB, free: 5.066 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002477/1.044, allocations: 1.621 MB / 1.389 GB, free: 3.438 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008541/1.045, allocations: 0.5252 MB / 1.389 GB, free: 2.914 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/1.047, allocations: 0.6866 MB / 1.39 GB, free: 2.227 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/1.048, allocations: 0.4944 MB / 1.391 GB, free: 1.734 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.756e-05/1.048, allocations: 52 kB / 1.391 GB, free: 1.684 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/1.051, allocations: 1.286 MB / 1.392 GB, free: 404 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/1.051, allocations: 235.3 kB / 1.392 GB, free: 168 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/1.051, allocations: 354.3 kB / 1.392 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/1.053, allocations: 1.27 MB / 1.394 GB, free: 14.54 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.053, allocations: 4 kB / 1.394 GB, free: 14.54 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.793e-06/1.053, allocations: 0 / 1.394 GB, free: 14.54 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.495e-05/1.053, allocations: 0 / 1.394 GB, free: 14.54 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.001564/1.055, allocations: 1.005 MB / 1.395 GB, free: 13.48 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.055, allocations: 12.03 kB / 1.395 GB, free: 13.47 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.056, allocations: 171 kB / 1.395 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/1.057, allocations: 0.5596 MB / 1.395 GB, free: 12.7 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/1.057, allocations: 33 kB / 1.395 GB, free: 12.67 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/1.057, allocations: 40 kB / 1.395 GB, free: 12.63 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/1.058, allocations: 474.2 kB / 1.396 GB, free: 12.16 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/1.058, allocations: 7.984 kB / 1.396 GB, free: 12.15 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/1.058, allocations: 20 kB / 1.396 GB, free: 12.13 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/1.058, allocations: 16.94 kB / 1.396 GB, free: 12.12 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007774/1.059, allocations: 419.7 kB / 1.396 GB, free: 11.71 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.002746/1.061, allocations: 2.028 MB / 1.398 GB, free: 9.496 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/1.062, allocations: 294.8 kB / 1.399 GB, free: 9.199 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/1.062, allocations: 190.6 kB / 1.399 GB, free: 9.012 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/1.063, allocations: 194.2 kB / 1.399 GB, free: 8.785 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.063, allocations: 38.55 kB / 1.399 GB, free: 8.738 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.435e-06/1.063, allocations: 0 / 1.399 GB, free: 8.738 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.001633/1.064, allocations: 0.6374 MB / 1.4 GB, free: 8.074 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.064, allocations: 55.41 kB / 1.4 GB, free: 8.008 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/1.065, allocations: 446 kB / 1.4 GB, free: 7.559 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/1.065, allocations: 33.7 kB / 1.4 GB, free: 7.52 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/1.065, allocations: 284.1 kB / 1.4 GB, free: 7.238 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/1.065, allocations: 102.5 kB / 1.4 GB, free: 7.137 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.065, allocations: 65.61 kB / 1.401 GB, free: 7.066 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.066, allocations: 358.8 kB / 1.401 GB, free: 6.707 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/1.066, allocations: 128.8 kB / 1.401 GB, free: 6.578 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/1.066, allocations: 216 kB / 1.401 GB, free: 6.344 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/1.067, allocations: 337.5 kB / 1.402 GB, free: 5.996 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.067, allocations: 0 / 1.402 GB, free: 5.996 MB / 1.123 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007315/1.068, allocations: 408.8 kB / 1.402 GB, free: 5.59 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.068, allocations: 8 kB / 1.402 GB, free: 5.582 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.068, allocations: 4.156 kB / 1.402 GB, free: 5.578 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.068, allocations: 7.938 kB / 1.402 GB, free: 5.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/1.068, allocations: 63.91 kB / 1.402 GB, free: 5.508 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.068, allocations: 4 kB / 1.402 GB, free: 5.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/1.069, allocations: 43.66 kB / 1.402 GB, free: 5.461 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/1.069, allocations: 11.98 kB / 1.402 GB, free: 5.449 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004558/1.069, allocations: 288 kB / 1.402 GB, free: 5.164 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003142/1.069, allocations: 207.1 kB / 1.403 GB, free: 4.938 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005356/1.07, allocations: 333.2 kB / 1.403 GB, free: 4.594 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/1.07, allocations: 0 / 1.403 GB, free: 4.594 MB / 1.123 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007446/1.071, allocations: 400.8 kB / 1.403 GB, free: 4.195 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.071, allocations: 8.094 kB / 1.403 GB, free: 4.188 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/1.071, allocations: 4 kB / 1.403 GB, free: 4.184 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/1.071, allocations: 4.125 kB / 1.403 GB, free: 4.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/1.071, allocations: 71.91 kB / 1.403 GB, free: 4.109 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.071, allocations: 4 kB / 1.403 GB, free: 4.105 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/1.071, allocations: 31.81 kB / 1.403 GB, free: 4.074 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/1.072, allocations: 16 kB / 1.403 GB, free: 4.059 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.0001529/1.072, allocations: 196.1 kB / 1.404 GB, free: 3.859 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/1.072, allocations: 59.31 kB / 1.404 GB, free: 3.801 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008447/1.073, allocations: 419.4 kB / 1.404 GB, free: 3.383 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/1.073, allocations: 4 kB / 1.404 GB, free: 3.379 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.073, allocations: 0 / 1.404 GB, free: 3.379 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006841/1.073, allocations: 445.1 kB / 1.404 GB, free: 2.91 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/1.075, allocations: 1.137 MB / 1.406 GB, free: 1.691 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.075, allocations: 4 kB / 1.406 GB, free: 1.688 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/1.075, allocations: 55.91 kB / 1.406 GB, free: 1.633 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/1.076, allocations: 44.83 kB / 1.406 GB, free: 1.586 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/1.076, allocations: 12.2 kB / 1.406 GB, free: 1.574 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/1.077, allocations: 1.539 MB / 1.407 GB, free: 15.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.077, allocations: 8.094 kB / 1.407 GB, free: 15.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.079, allocations: 0.6875 MB / 1.408 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/1.079, allocations: 164.4 kB / 1.408 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/1.079, allocations: 8 kB / 1.408 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/1.079, allocations: 19.92 kB / 1.408 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/1.079, allocations: 35.91 kB / 1.408 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/1.079, allocations: 12 kB / 1.408 GB, free: 14.91 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004327/1.08, allocations: 318.8 kB / 1.408 GB, free: 14.6 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.08, allocations: 0 / 1.408 GB, free: 14.6 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009891/1.081, allocations: 299.3 kB / 1.409 GB, free: 14.3 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.0005011/1.081, allocations: 193.3 kB / 1.409 GB, free: 14.11 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.082, allocations: 0.4962 MB / 1.409 GB, free: 13.62 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.082, allocations: 0 / 1.409 GB, free: 13.62 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/1.083, allocations: 286.5 kB / 1.41 GB, free: 13.32 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.084, allocations: 297.2 kB / 1.41 GB, free: 13.04 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/1.086, allocations: 1.078 MB / 1.411 GB, free: 11.91 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/1.087, allocations: 0.9014 MB / 1.412 GB, free: 10.98 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004754/1.087, allocations: 164.4 kB / 1.412 GB, free: 10.82 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/1.087, allocations: 43.44 kB / 1.412 GB, free: 10.79 MB / 1.139 GB Notification: Performance of SimCode: time 4.51e-07/1.087, allocations: 0 / 1.412 GB, free: 10.79 MB / 1.139 GB Notification: Performance of Templates: time 0.01876/1.106, allocations: 10.27 MB / 1.422 GB, free: 0.668 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches