Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007527/0.007527, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001588/0.001588, allocations: 197 kB / 16.68 MB, free: 5.934 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.335/1.335, 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.455/2.455, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7674, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1763/0.9437, allocations: 170.8 MB / 1.333 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005694/0.9495, allocations: 3.389 MB / 1.337 GB, free: 5.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006247/0.9501, allocations: 23.88 kB / 1.337 GB, free: 4.996 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009645/0.9511, allocations: 318.1 kB / 1.337 GB, free: 4.684 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.9536, allocations: 1.062 MB / 1.338 GB, free: 3.617 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.9551, allocations: 0.664 MB / 1.339 GB, free: 2.957 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.9569, allocations: 1.538 MB / 1.34 GB, free: 1.414 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/0.9577, allocations: 482.6 kB / 1.341 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009797/0.9587, allocations: 0.5876 MB / 1.341 GB, free: 364 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.9597, allocations: 466.2 kB / 1.342 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.9598, allocations: 52 kB / 1.342 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.9617, allocations: 0.8379 MB / 1.343 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.9621, allocations: 243.4 kB / 1.343 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.9626, allocations: 334.5 kB / 1.343 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.965, allocations: 1.141 MB / 1.344 GB, free: 13.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.965, allocations: 0 / 1.344 GB, free: 13.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.003e-06/0.965, allocations: 4 kB / 1.344 GB, free: 13.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.965, allocations: 0 / 1.344 GB, free: 13.29 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.001639/0.9667, allocations: 0.9224 MB / 1.345 GB, free: 12.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.9667, allocations: 12.03 kB / 1.345 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.968, allocations: 175.4 kB / 1.345 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008713/0.9689, allocations: 0.529 MB / 1.346 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.9689, allocations: 33 kB / 1.346 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.969, allocations: 44 kB / 1.346 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.9697, allocations: 470.4 kB / 1.346 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.9698, allocations: 4 kB / 1.346 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.9698, allocations: 20 kB / 1.346 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.9698, allocations: 16.98 kB / 1.346 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.9705, allocations: 411.7 kB / 1.347 GB, free: 10.59 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.002544/0.973, allocations: 1.737 MB / 1.348 GB, free: 8.719 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.9735, allocations: 290.6 kB / 1.349 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.9738, allocations: 183 kB / 1.349 GB, free: 8.246 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.974, allocations: 97.09 kB / 1.349 GB, free: 8.133 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.974, allocations: 46.5 kB / 1.349 GB, free: 8.078 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.974, allocations: 0 / 1.349 GB, free: 8.078 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.00191/0.9759, allocations: 1.07 MB / 1.35 GB, free: 6.961 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.976, allocations: 59.39 kB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.9764, allocations: 453.9 kB / 1.351 GB, free: 6.438 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.9765, allocations: 33.7 kB / 1.351 GB, free: 6.398 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.9767, allocations: 256.5 kB / 1.351 GB, free: 6.145 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/0.9768, allocations: 126.9 kB / 1.351 GB, free: 6.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.9769, allocations: 65.7 kB / 1.351 GB, free: 5.949 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.977, allocations: 358.8 kB / 1.351 GB, free: 5.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.9773, allocations: 123.9 kB / 1.352 GB, free: 5.469 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.9775, allocations: 201.8 kB / 1.352 GB, free: 5.25 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.9793, allocations: 0.8629 MB / 1.353 GB, free: 4.348 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9794, allocations: 0 / 1.353 GB, free: 4.348 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005851/0.9799, allocations: 424.7 kB / 1.353 GB, free: 3.926 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.98, allocations: 6.656 kB / 1.353 GB, free: 3.922 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.98, allocations: 4 kB / 1.353 GB, free: 3.918 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.98, allocations: 0 / 1.353 GB, free: 3.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.9803, allocations: 71.84 kB / 1.353 GB, free: 3.848 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.9803, allocations: 4 kB / 1.353 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.9807, allocations: 20.12 kB / 1.353 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.9807, allocations: 12 kB / 1.353 GB, free: 3.812 MB / 1.076 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002466/0.981, allocations: 222.1 kB / 1.353 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.9811, allocations: 55.61 kB / 1.353 GB, free: 3.531 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.9812, allocations: 64.7 kB / 1.353 GB, free: 3.469 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.9812, allocations: 4 kB / 1.353 GB, free: 3.465 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9812, allocations: 0 / 1.353 GB, free: 3.465 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004936/0.9817, allocations: 404.3 kB / 1.354 GB, free: 3.039 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.9836, allocations: 1.245 MB / 1.355 GB, free: 1.688 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9837, allocations: 4 kB / 1.355 GB, free: 1.684 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.984, allocations: 75.91 kB / 1.355 GB, free: 1.609 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.984, allocations: 4.5 kB / 1.355 GB, free: 1.605 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.9841, allocations: 19.98 kB / 1.355 GB, free: 1.586 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.9841, allocations: 4 kB / 1.355 GB, free: 1.582 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.9841, allocations: 7.938 kB / 1.355 GB, free: 1.574 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008685/0.985, allocations: 0.7039 MB / 1.356 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.9852, allocations: 172.7 kB / 1.356 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.9853, allocations: 12 kB / 1.356 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.9857, allocations: 19.98 kB / 1.356 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.9857, allocations: 31.92 kB / 1.356 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.9858, allocations: 23.98 kB / 1.356 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003732/0.9862, allocations: 331.1 kB / 1.356 GB, free: 212 kB / 1.076 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9862, allocations: 0 / 1.356 GB, free: 212 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005728/0.9868, allocations: 140 kB / 1.357 GB, free: 72 kB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (33): * Single equations (assignments): 33 * 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.000407/0.9872, allocations: 174.7 kB / 1.357 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.9877, allocations: 328.3 kB / 1.357 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9878, allocations: 0 / 1.357 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.988, allocations: 163.6 kB / 1.357 GB, free: 15.42 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.9897, allocations: 361.9 kB / 1.357 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.9914, allocations: 1.133 MB / 1.359 GB, free: 13.86 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.9919, allocations: 0.8899 MB / 1.359 GB, free: 12.94 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003956/0.9923, allocations: 144.5 kB / 1.36 GB, free: 12.8 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.9924, allocations: 43.42 kB / 1.36 GB, free: 12.76 MB / 1.092 GB Notification: Performance of SimCode: time 2.5e-07/0.9924, allocations: 4 kB / 1.36 GB, free: 12.75 MB / 1.092 GB Notification: Performance of Templates: time 0.01972/1.012, allocations: 11.13 MB / 1.371 GB, free: 1.809 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches