Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006733/0.006733, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001483/0.001483, allocations: 198.5 kB / 16.68 MB, free: 5.973 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8446, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2426/1.087, allocations: 209.9 MB / 1.293 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01557/1.103, allocations: 9.878 MB / 1.303 GB, free: 1.754 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/1.105, allocations: 59.62 kB / 1.303 GB, free: 1.695 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/1.107, allocations: 0.7961 MB / 1.303 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007378/1.114, allocations: 2.914 MB / 1.306 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003872/1.118, allocations: 1.394 MB / 1.308 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00636/1.125, allocations: 4.072 MB / 1.312 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/1.128, allocations: 1.336 MB / 1.313 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/1.132, allocations: 1.413 MB / 1.314 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/1.135, allocations: 1.23 MB / 1.315 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006108/1.136, allocations: 144 kB / 1.316 GB, free: 4.344 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005423/1.141, allocations: 2.401 MB / 1.318 GB, free: 1.938 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009422/1.142, allocations: 0.6039 MB / 1.319 GB, free: 1.332 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/1.144, allocations: 0.8634 MB / 1.319 GB, free: 476 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005323/1.149, allocations: 2.999 MB / 1.322 GB, free: 13.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.149, allocations: 0 / 1.322 GB, free: 13.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.522e-06/1.149, allocations: 3.938 kB / 1.322 GB, free: 13.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.94e-05/1.149, allocations: 0 / 1.322 GB, free: 13.45 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00381/1.153, allocations: 1.893 MB / 1.324 GB, free: 11.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.153, allocations: 8.031 kB / 1.324 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/1.156, allocations: 485.7 kB / 1.325 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/1.159, allocations: 1.135 MB / 1.326 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/1.159, allocations: 82.14 kB / 1.326 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/1.159, allocations: 108 kB / 1.326 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/1.161, allocations: 1.157 MB / 1.327 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/1.161, allocations: 3.938 kB / 1.327 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.161, allocations: 47.94 kB / 1.327 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/1.161, allocations: 42.14 kB / 1.327 GB, free: 8.367 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/1.163, allocations: 1.07 MB / 1.328 GB, free: 7.289 MB / 1.061 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.006421/1.17, allocations: 4.204 MB / 1.332 GB, free: 2.809 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.171, allocations: 0.7863 MB / 1.333 GB, free: 2.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/1.172, allocations: 490.7 kB / 1.334 GB, free: 1.527 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/1.172, allocations: 292.3 kB / 1.334 GB, free: 1.188 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/1.172, allocations: 43.56 kB / 1.334 GB, free: 1.137 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.304e-06/1.172, allocations: 0 / 1.334 GB, free: 1.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=89): time 0.005503/1.178, allocations: 2.84 MB / 1.337 GB, free: 14.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/1.178, allocations: 68.39 kB / 1.337 GB, free: 14.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.179, allocations: 0.9754 MB / 1.338 GB, free: 13.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.921e-05/1.179, allocations: 45.7 kB / 1.338 GB, free: 13.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/1.179, allocations: 0.5396 MB / 1.338 GB, free: 12.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/1.18, allocations: 303.5 kB / 1.338 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/1.18, allocations: 162.6 kB / 1.339 GB, free: 12.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.18, allocations: 334 kB / 1.339 GB, free: 11.74 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/1.181, allocations: 353.7 kB / 1.339 GB, free: 11.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/1.181, allocations: 485.9 kB / 1.34 GB, free: 10.88 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006075/1.187, allocations: 3.038 MB / 1.343 GB, free: 7.758 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.187, allocations: 8 kB / 1.343 GB, free: 7.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001622/1.189, allocations: 1.007 MB / 1.344 GB, free: 6.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.189, allocations: 4 kB / 1.344 GB, free: 6.727 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.189, allocations: 4 kB / 1.344 GB, free: 6.723 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.189, allocations: 12.36 kB / 1.344 GB, free: 6.711 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/1.19, allocations: 183.8 kB / 1.344 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/1.19, allocations: 7.984 kB / 1.344 GB, free: 6.523 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009783/1.191, allocations: 24 kB / 1.344 GB, free: 6.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/1.191, allocations: 39.92 kB / 1.344 GB, free: 6.461 MB / 1.076 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0006267/1.192, allocations: 381.5 kB / 1.344 GB, free: 6.078 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/1.192, allocations: 130.4 kB / 1.344 GB, free: 5.949 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/1.192, allocations: 148.3 kB / 1.345 GB, free: 5.797 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.192, allocations: 16 kB / 1.345 GB, free: 5.781 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/1.192, allocations: 0 / 1.345 GB, free: 5.781 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001834/1.194, allocations: 1.098 MB / 1.346 GB, free: 4.613 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005922/1.2, allocations: 3.047 MB / 1.349 GB, free: 1.383 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.2, allocations: 8 kB / 1.349 GB, free: 1.375 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/1.201, allocations: 164.6 kB / 1.349 GB, free: 1.215 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003469/1.201, allocations: 101.6 kB / 1.349 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/1.201, allocations: 28 kB / 1.349 GB, free: 1.082 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/1.204, allocations: 3.086 MB / 1.352 GB, free: 13.72 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.204, allocations: 15.94 kB / 1.352 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/1.206, allocations: 1.737 MB / 1.354 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/1.207, allocations: 311.5 kB / 1.354 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/1.207, allocations: 35.92 kB / 1.354 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/1.208, allocations: 33.67 kB / 1.354 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.208, allocations: 88.11 kB / 1.354 GB, free: 11.35 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.208, allocations: 51.97 kB / 1.354 GB, free: 11.3 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009674/1.209, allocations: 0.6956 MB / 1.355 GB, free: 10.59 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.209, allocations: 0 / 1.355 GB, free: 10.59 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00117/1.21, allocations: 376 kB / 1.355 GB, free: 10.23 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0005105/1.211, allocations: 240.5 kB / 1.355 GB, free: 9.996 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001368/1.212, allocations: 0.8402 MB / 1.356 GB, free: 9.156 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.212, allocations: 8 kB / 1.356 GB, free: 9.148 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009468/1.213, allocations: 0.6656 MB / 1.357 GB, free: 8.461 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.217, allocations: 0.9257 MB / 1.358 GB, free: 7.555 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/1.221, allocations: 2.776 MB / 1.361 GB, free: 4.633 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009636/1.222, allocations: 1.249 MB / 1.362 GB, free: 3.352 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00113/1.223, allocations: 343 kB / 1.362 GB, free: 3.012 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/1.223, allocations: 103.4 kB / 1.362 GB, free: 2.91 MB / 1.092 GB Notification: Performance of SimCode: time 5.31e-07/1.223, allocations: 0 / 1.362 GB, free: 2.91 MB / 1.092 GB Notification: Performance of Templates: time 0.04685/1.27, allocations: 28.56 MB / 1.39 GB, free: 6.746 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches