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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003918/0.003918, allocations: 96.84 kB / 15.73 MB, free: 6.035 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.00102/0.00102, allocations: 204.5 kB / 16.68 MB, free: 5.961 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.282/2.282, allocations: 390.3 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.44 kB / 0.9504 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2333, allocations: 140.4 MB / 1.087 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7088/0.9421, allocations: 209.9 MB / 1.292 GB, free: 3 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.9548, allocations: 9.867 MB / 1.302 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.9564, allocations: 60.28 kB / 1.302 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.9581, allocations: 0.7956 MB / 1.303 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.9643, allocations: 2.916 MB / 1.306 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.9676, allocations: 1.397 MB / 1.307 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004634/0.9722, allocations: 4.068 MB / 1.311 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.9738, allocations: 1.327 MB / 1.312 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.9759, allocations: 1.427 MB / 1.314 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.9778, allocations: 1.235 MB / 1.315 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.9781, allocations: 144.8 kB / 1.315 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.9826, allocations: 2.398 MB / 1.317 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005839/0.9832, allocations: 0.6081 MB / 1.318 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009278/0.9841, allocations: 0.8532 MB / 1.319 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00409/0.9882, allocations: 3.01 MB / 1.322 GB, free: 1.836 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.9882, allocations: 0 / 1.322 GB, free: 1.836 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9882, allocations: 0 / 1.322 GB, free: 1.836 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.539e-05/0.9882, allocations: 0.7812 kB / 1.322 GB, free: 1.836 MB / 1.014 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.002847/0.9911, allocations: 1.952 MB / 1.324 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.9911, allocations: 10.41 kB / 1.324 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.9913, allocations: 171.2 kB / 1.324 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.9944, allocations: 491.1 kB / 1.324 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.9962, allocations: 1.142 MB / 1.326 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.9963, allocations: 84.05 kB / 1.326 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.9965, allocations: 109.8 kB / 1.326 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.9982, allocations: 1.154 MB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.9983, allocations: 2.781 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.9984, allocations: 47.5 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.9984, allocations: 41.98 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/1, allocations: 1.069 MB / 1.328 GB, free: 236 kB / 1.014 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.005201/1.005, allocations: 4.212 MB / 1.332 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/1.006, allocations: 0.7964 MB / 1.333 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/1.007, allocations: 479.5 kB / 1.333 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/1.007, allocations: 295.9 kB / 1.334 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.007, allocations: 48.97 kB / 1.334 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=83): time 2.414e-06/1.007, allocations: 0.75 kB / 1.334 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=89): time 0.00487/1.012, allocations: 2.862 MB / 1.336 GB, free: 13.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/1.012, allocations: 64.53 kB / 1.336 GB, free: 13.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/1.013, allocations: 0.9782 MB / 1.337 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/1.013, allocations: 44.42 kB / 1.337 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/1.014, allocations: 0.5443 MB / 1.338 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.014, allocations: 331 kB / 1.338 GB, free: 12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/1.014, allocations: 159.2 kB / 1.338 GB, free: 11.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.014, allocations: 341.6 kB / 1.339 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/1.015, allocations: 342.1 kB / 1.339 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/1.015, allocations: 490.4 kB / 1.34 GB, free: 11.23 MB / 1.029 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.005637/1.021, allocations: 3.038 MB / 1.343 GB, free: 9.949 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.021, allocations: 0 / 1.343 GB, free: 9.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00137/1.022, allocations: 1.019 MB / 1.344 GB, free: 9.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.022, allocations: 9.562 kB / 1.344 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.022, allocations: 2.531 kB / 1.344 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.022, allocations: 8.656 kB / 1.344 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/1.023, allocations: 182.2 kB / 1.344 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/1.023, allocations: 15.12 kB / 1.344 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/1.024, allocations: 26.75 kB / 1.344 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/1.024, allocations: 31.16 kB / 1.344 GB, free: 9.5 MB / 1.029 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.0004711/1.025, allocations: 384.9 kB / 1.344 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/1.025, allocations: 135.7 kB / 1.344 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/1.025, allocations: 148.4 kB / 1.344 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.025, allocations: 7.969 kB / 1.344 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.025, allocations: 7.938 kB / 1.344 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001381/1.027, allocations: 1.085 MB / 1.346 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/1.031, allocations: 3.049 MB / 1.349 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/1.031, allocations: 10.09 kB / 1.349 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/1.032, allocations: 158.8 kB / 1.349 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003166/1.032, allocations: 109.8 kB / 1.349 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/1.032, allocations: 31.81 kB / 1.349 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/1.034, allocations: 3.09 MB / 1.352 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.034, allocations: 16.97 kB / 1.352 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/1.036, allocations: 1.742 MB / 1.354 GB, free: 2.895 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/1.037, allocations: 309.3 kB / 1.354 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.037, allocations: 34.16 kB / 1.354 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/1.038, allocations: 37.41 kB / 1.354 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.038, allocations: 91.33 kB / 1.354 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/1.038, allocations: 51.34 kB / 1.354 GB, free: 2.617 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007837/1.039, allocations: 0.6888 MB / 1.355 GB, free: 2.336 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.039, allocations: 0 / 1.355 GB, free: 2.336 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001027/1.04, allocations: 382.3 kB / 1.355 GB, free: 2.297 MB / 1.029 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.002729/1.043, allocations: 2.43 MB / 1.357 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001189/1.044, allocations: 0.8377 MB / 1.358 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.044, allocations: 2.875 kB / 1.358 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/1.045, allocations: 0.6634 MB / 1.359 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/1.049, allocations: 0.939 MB / 1.36 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.06, allocations: 9.705 MB / 1.369 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/1.061, allocations: 1.256 MB / 1.371 GB, free: 9.906 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001118/1.062, allocations: 346.2 kB / 1.371 GB, free: 9.824 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/1.063, allocations: 475.2 kB / 1.371 GB, free: 9.484 MB / 1.045 GB Notification: Performance of SimCode: time 6.51e-07/1.063, allocations: 0 / 1.371 GB, free: 9.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0658/1.129, allocations: 38.42 MB / 1.409 GB, free: 10.47 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.45, allocations: 3.938 kB / 1.409 GB, free: 10.47 MB / 1.076 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches