Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_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.005815/0.005815, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001401/0.001402, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.533/2.533, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2465, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7523/0.9988, allocations: 209.9 MB / 1.371 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01552/1.014, allocations: 9.853 MB / 1.381 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/1.017, allocations: 59 kB / 1.381 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/1.019, allocations: 0.7716 MB / 1.382 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007123/1.026, allocations: 2.807 MB / 1.384 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/1.03, allocations: 1.392 MB / 1.386 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005126/1.035, allocations: 4.056 MB / 1.39 GB, free: 7.113 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/1.037, allocations: 1.325 MB / 1.391 GB, free: 6.289 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/1.04, allocations: 1.365 MB / 1.392 GB, free: 5.496 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/1.042, allocations: 1.22 MB / 1.393 GB, free: 4.789 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003816/1.043, allocations: 143.9 kB / 1.394 GB, free: 4.789 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/1.047, allocations: 2.382 MB / 1.396 GB, free: 3.488 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008324/1.048, allocations: 0.6104 MB / 1.397 GB, free: 3.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/1.05, allocations: 0.8634 MB / 1.397 GB, free: 2.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005099/1.055, allocations: 2.997 MB / 1.4 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.055, allocations: 0 / 1.4 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.863e-06/1.055, allocations: 2.906 kB / 1.4 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.172e-05/1.055, allocations: 0 / 1.4 GB, free: 0.6016 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.003707/1.059, allocations: 1.896 MB / 1.402 GB, free: 15.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.059, allocations: 10.5 kB / 1.402 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002752/1.059, allocations: 169.1 kB / 1.402 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/1.062, allocations: 490.5 kB / 1.403 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/1.064, allocations: 1.133 MB / 1.404 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/1.064, allocations: 81.27 kB / 1.404 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/1.065, allocations: 109.2 kB / 1.404 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/1.067, allocations: 1.154 MB / 1.405 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/1.067, allocations: 6.562 kB / 1.405 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.067, allocations: 41.75 kB / 1.405 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/1.067, allocations: 47.81 kB / 1.405 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/1.068, allocations: 1.069 MB / 1.406 GB, free: 12.68 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.006016/1.074, allocations: 4.198 MB / 1.41 GB, free: 9.289 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.076, allocations: 0.7873 MB / 1.411 GB, free: 8.883 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/1.076, allocations: 484.4 kB / 1.412 GB, free: 8.648 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/1.077, allocations: 293.3 kB / 1.412 GB, free: 8.348 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/1.077, allocations: 44.38 kB / 1.412 GB, free: 8.297 MB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 4.188e-06/1.077, allocations: 3.938 kB / 1.412 GB, free: 8.293 MB / 1.076 GB Notification: Performance of matching and sorting (n=89): time 0.005693/1.082, allocations: 2.849 MB / 1.415 GB, free: 5.684 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/1.082, allocations: 64.41 kB / 1.415 GB, free: 5.609 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/1.084, allocations: 0.9793 MB / 1.416 GB, free: 4.613 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/1.084, allocations: 45.7 kB / 1.416 GB, free: 4.562 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/1.084, allocations: 0.5318 MB / 1.416 GB, free: 4.023 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.084, allocations: 319.3 kB / 1.417 GB, free: 3.707 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/1.085, allocations: 158.6 kB / 1.417 GB, free: 3.543 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.085, allocations: 341.9 kB / 1.417 GB, free: 3.203 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/1.085, allocations: 337.8 kB / 1.417 GB, free: 2.875 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/1.086, allocations: 485.9 kB / 1.418 GB, free: 2.363 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.005923/1.092, allocations: 3.037 MB / 1.421 GB, free: 15.24 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.092, allocations: 0 / 1.421 GB, free: 15.24 MB / 1.092 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001546/1.094, allocations: 1.015 MB / 1.422 GB, free: 14.22 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.094, allocations: 8 kB / 1.422 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.094, allocations: 4 kB / 1.422 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/1.094, allocations: 8 kB / 1.422 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/1.094, allocations: 179.7 kB / 1.422 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/1.094, allocations: 8 kB / 1.422 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.096, allocations: 28.36 kB / 1.422 GB, free: 13.99 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/1.096, allocations: 36 kB / 1.422 GB, free: 13.95 MB / 1.092 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.0005784/1.096, allocations: 382 kB / 1.423 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/1.096, allocations: 130.4 kB / 1.423 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/1.097, allocations: 148.3 kB / 1.423 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.097, allocations: 11.98 kB / 1.423 GB, free: 13.28 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.097, allocations: 4 kB / 1.423 GB, free: 13.28 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001516/1.098, allocations: 1.094 MB / 1.424 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004744/1.103, allocations: 3.051 MB / 1.427 GB, free: 8.875 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.103, allocations: 8 kB / 1.427 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/1.104, allocations: 167.7 kB / 1.427 GB, free: 8.703 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/1.104, allocations: 98.03 kB / 1.427 GB, free: 8.602 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/1.104, allocations: 32 kB / 1.427 GB, free: 8.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/1.107, allocations: 3.082 MB / 1.43 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.107, allocations: 20 kB / 1.43 GB, free: 5.191 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/1.109, allocations: 1.729 MB / 1.432 GB, free: 3.324 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006407/1.11, allocations: 307.5 kB / 1.432 GB, free: 3.004 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/1.11, allocations: 31.94 kB / 1.432 GB, free: 2.973 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.111, allocations: 47.45 kB / 1.432 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.111, allocations: 88.11 kB / 1.432 GB, free: 2.844 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/1.111, allocations: 39.98 kB / 1.432 GB, free: 2.805 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009389/1.112, allocations: 0.6994 MB / 1.433 GB, free: 2.098 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.112, allocations: 7.938 kB / 1.433 GB, free: 2.09 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00116/1.113, allocations: 372 kB / 1.433 GB, free: 1.727 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.002906/1.116, allocations: 2.417 MB / 1.436 GB, free: 15.17 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.118, allocations: 0.8512 MB / 1.437 GB, free: 14.32 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.118, allocations: 0 / 1.437 GB, free: 14.32 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009118/1.119, allocations: 0.6661 MB / 1.437 GB, free: 13.63 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/1.123, allocations: 0.9277 MB / 1.438 GB, free: 12.72 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.136, allocations: 9.673 MB / 1.448 GB, free: 2.609 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000959/1.137, allocations: 1.253 MB / 1.449 GB, free: 1.328 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001304/1.138, allocations: 343 kB / 1.449 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/1.139, allocations: 471.3 kB / 1.45 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of SimCode: time 1.512e-06/1.139, allocations: 4 kB / 1.45 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06968/1.209, allocations: 38.43 MB / 1.487 GB, free: 10.66 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.62, allocations: 2.062 kB / 1.487 GB, free: 10.66 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches