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.001652/0.001653, allocations: 107.1 kB / 16.41 MB, free: 6.445 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.001738/0.001738, allocations: 192 kB / 17.34 MB, free: 5.703 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.519/1.519, allocations: 222.9 MB / 241 MB, free: 15.09 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.758/2.758, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.88 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8329, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2325/1.065, allocations: 177.2 MB / 1.34 GB, free: 1.973 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008132/1.074, allocations: 4.391 MB / 1.345 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/1.075, allocations: 27.81 kB / 1.345 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/1.076, allocations: 373.8 kB / 1.345 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003607/1.08, allocations: 1.311 MB / 1.346 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/1.082, allocations: 0.7047 MB / 1.347 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002504/1.084, allocations: 1.618 MB / 1.349 GB, free: 9.539 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008087/1.085, allocations: 0.5252 MB / 1.349 GB, free: 9.008 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/1.087, allocations: 0.6926 MB / 1.35 GB, free: 8.312 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/1.088, allocations: 495 kB / 1.35 GB, free: 7.832 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.536e-05/1.088, allocations: 52 kB / 1.35 GB, free: 7.781 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/1.091, allocations: 1.313 MB / 1.352 GB, free: 6.465 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/1.091, allocations: 231.4 kB / 1.352 GB, free: 6.238 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004519/1.092, allocations: 342.4 kB / 1.352 GB, free: 5.902 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/1.094, allocations: 1.296 MB / 1.353 GB, free: 4.602 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/1.094, allocations: 0 / 1.353 GB, free: 4.602 MB / 1.076 GB Notification: Performance of FrontEnd: time 7.42e-07/1.094, allocations: 0 / 1.353 GB, free: 4.602 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.094, allocations: 0 / 1.353 GB, free: 4.602 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.001876/1.096, allocations: 1.023 MB / 1.354 GB, free: 3.527 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.096, allocations: 8.922 kB / 1.354 GB, free: 3.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.097, allocations: 183.4 kB / 1.355 GB, free: 3.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.098, allocations: 0.5601 MB / 1.355 GB, free: 2.738 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/1.098, allocations: 33 kB / 1.355 GB, free: 2.707 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/1.098, allocations: 47.94 kB / 1.355 GB, free: 2.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/1.099, allocations: 470.3 kB / 1.356 GB, free: 2.195 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.099, allocations: 0 / 1.356 GB, free: 2.195 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/1.099, allocations: 16 kB / 1.356 GB, free: 2.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/1.099, allocations: 16.94 kB / 1.356 GB, free: 2.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/1.1, allocations: 423.7 kB / 1.356 GB, free: 1.75 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.003069/1.103, allocations: 2.032 MB / 1.358 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/1.104, allocations: 299.2 kB / 1.358 GB, free: 15.23 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/1.104, allocations: 180.8 kB / 1.358 GB, free: 15.05 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/1.105, allocations: 194.2 kB / 1.359 GB, free: 14.83 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.105, allocations: 38.56 kB / 1.359 GB, free: 14.78 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 2.345e-06/1.105, allocations: 0 / 1.359 GB, free: 14.78 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.001769/1.106, allocations: 0.6474 MB / 1.359 GB, free: 14.11 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/1.107, allocations: 55.41 kB / 1.359 GB, free: 14.04 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006044/1.107, allocations: 446 kB / 1.36 GB, free: 13.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/1.107, allocations: 33.7 kB / 1.36 GB, free: 13.55 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/1.107, allocations: 284.6 kB / 1.36 GB, free: 13.27 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.108, allocations: 119 kB / 1.36 GB, free: 13.15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/1.108, allocations: 69.66 kB / 1.36 GB, free: 13.08 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.108, allocations: 354.8 kB / 1.361 GB, free: 12.72 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/1.108, allocations: 132.8 kB / 1.361 GB, free: 12.59 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/1.109, allocations: 204.1 kB / 1.361 GB, free: 12.37 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/1.109, allocations: 334.5 kB / 1.361 GB, free: 12.02 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.109, allocations: 4 kB / 1.361 GB, free: 12.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007908/1.11, allocations: 405 kB / 1.362 GB, free: 11.62 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.11, allocations: 4 kB / 1.362 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.11, allocations: 4 kB / 1.362 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/1.11, allocations: 3.938 kB / 1.362 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/1.11, allocations: 80.05 kB / 1.362 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.11, allocations: 0 / 1.362 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/1.111, allocations: 35.77 kB / 1.362 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/1.111, allocations: 16 kB / 1.362 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004697/1.111, allocations: 292 kB / 1.362 GB, free: 11.19 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003418/1.112, allocations: 207.1 kB / 1.362 GB, free: 10.96 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006028/1.112, allocations: 324.9 kB / 1.363 GB, free: 10.62 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/1.112, allocations: 0 / 1.363 GB, free: 10.62 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007989/1.113, allocations: 409.3 kB / 1.363 GB, free: 10.22 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.113, allocations: 11.94 kB / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/1.113, allocations: 0 / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/1.113, allocations: 4 kB / 1.363 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/1.114, allocations: 72.05 kB / 1.363 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.114, allocations: 4 kB / 1.363 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/1.114, allocations: 31.88 kB / 1.363 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/1.114, allocations: 8 kB / 1.363 GB, free: 10.09 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.0001896/1.114, allocations: 204.2 kB / 1.363 GB, free: 9.883 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.114, allocations: 55.61 kB / 1.363 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/1.115, allocations: 411.1 kB / 1.364 GB, free: 9.418 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.115, allocations: 4 kB / 1.364 GB, free: 9.414 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.115, allocations: 4.125 kB / 1.364 GB, free: 9.41 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007813/1.116, allocations: 454.3 kB / 1.364 GB, free: 8.934 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/1.118, allocations: 1.135 MB / 1.365 GB, free: 7.719 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.118, allocations: 0 / 1.365 GB, free: 7.719 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.118, allocations: 63.89 kB / 1.365 GB, free: 7.656 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/1.119, allocations: 44.83 kB / 1.365 GB, free: 7.609 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/1.119, allocations: 8 kB / 1.365 GB, free: 7.602 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/1.121, allocations: 1.551 MB / 1.367 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.121, allocations: 3.938 kB / 1.367 GB, free: 5.91 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.122, allocations: 0.7011 MB / 1.368 GB, free: 5.168 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/1.122, allocations: 164.7 kB / 1.368 GB, free: 4.988 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/1.122, allocations: 11.98 kB / 1.368 GB, free: 4.977 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/1.123, allocations: 19.92 kB / 1.368 GB, free: 4.957 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/1.123, allocations: 27.97 kB / 1.368 GB, free: 4.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/1.123, allocations: 20 kB / 1.368 GB, free: 4.91 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000422/1.123, allocations: 314.9 kB / 1.368 GB, free: 4.605 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.123, allocations: 0 / 1.368 GB, free: 4.605 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008798/1.124, allocations: 299.5 kB / 1.368 GB, free: 4.312 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.0005122/1.125, allocations: 195.7 kB / 1.369 GB, free: 4.117 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00104/1.126, allocations: 488 kB / 1.369 GB, free: 3.641 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.126, allocations: 4.125 kB / 1.369 GB, free: 3.637 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005544/1.126, allocations: 292.7 kB / 1.369 GB, free: 3.34 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.128, allocations: 305.8 kB / 1.37 GB, free: 3.055 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/1.13, allocations: 1.098 MB / 1.371 GB, free: 1.906 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/1.13, allocations: 0.9014 MB / 1.372 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005323/1.131, allocations: 160.4 kB / 1.372 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/1.131, allocations: 47.42 kB / 1.372 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of SimCode: time 6.92e-07/1.131, allocations: 3.938 kB / 1.372 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of Templates: time 0.0213/1.152, allocations: 10.31 MB / 1.382 GB, free: 6.617 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches