Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_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.005936/0.005936, allocations: 99.33 kB / 15.73 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.001436/0.001436, allocations: 194 kB / 16.67 MB, free: 6.348 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2588, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7332/0.992, allocations: 209.9 MB / 1.425 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01384/1.006, allocations: 9.875 MB / 1.434 GB, free: 8.672 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/1.008, allocations: 65 kB / 1.434 GB, free: 8.645 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/1.01, allocations: 0.7941 MB / 1.435 GB, free: 7.988 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006678/1.017, allocations: 2.913 MB / 1.438 GB, free: 5.754 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/1.02, allocations: 1.396 MB / 1.439 GB, free: 4.672 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004566/1.025, allocations: 4.072 MB / 1.443 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/1.026, allocations: 1.32 MB / 1.445 GB, free: 15.58 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/1.029, allocations: 1.417 MB / 1.446 GB, free: 14.16 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/1.031, allocations: 1.229 MB / 1.447 GB, free: 12.94 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/1.031, allocations: 144 kB / 1.447 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/1.036, allocations: 2.401 MB / 1.45 GB, free: 10.39 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006648/1.036, allocations: 0.6078 MB / 1.45 GB, free: 9.785 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/1.037, allocations: 0.8595 MB / 1.451 GB, free: 8.922 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004417/1.042, allocations: 3.017 MB / 1.454 GB, free: 5.895 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.042, allocations: 0 / 1.454 GB, free: 5.895 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.773e-06/1.042, allocations: 0 / 1.454 GB, free: 5.895 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.903e-05/1.042, allocations: 0 / 1.454 GB, free: 5.895 MB / 1.139 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.003319/1.045, allocations: 1.949 MB / 1.456 GB, free: 3.887 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.045, allocations: 12.03 kB / 1.456 GB, free: 3.875 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002208/1.046, allocations: 168.8 kB / 1.456 GB, free: 3.699 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/1.049, allocations: 494.5 kB / 1.457 GB, free: 3.215 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/1.051, allocations: 1.136 MB / 1.458 GB, free: 2.035 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/1.051, allocations: 86.14 kB / 1.458 GB, free: 1.949 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.051, allocations: 112 kB / 1.458 GB, free: 1.84 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/1.053, allocations: 1.15 MB / 1.459 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/1.053, allocations: 3.938 kB / 1.459 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.053, allocations: 51.98 kB / 1.459 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/1.053, allocations: 38.14 kB / 1.459 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/1.055, allocations: 1.078 MB / 1.46 GB, free: 15.48 MB / 1.154 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.006047/1.061, allocations: 4.202 MB / 1.464 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.062, allocations: 0.8023 MB / 1.465 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/1.063, allocations: 490.2 kB / 1.466 GB, free: 9.711 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/1.063, allocations: 292.3 kB / 1.466 GB, free: 9.371 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.063, allocations: 47.55 kB / 1.466 GB, free: 9.312 MB / 1.154 GB Notification: Performance of pre-optimization done (n=83): time 2.275e-06/1.063, allocations: 0 / 1.466 GB, free: 9.312 MB / 1.154 GB Notification: Performance of matching and sorting (n=89): time 0.005439/1.069, allocations: 2.866 MB / 1.469 GB, free: 6.363 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/1.069, allocations: 64.34 kB / 1.469 GB, free: 6.289 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.07, allocations: 0.9755 MB / 1.47 GB, free: 5.297 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/1.07, allocations: 45.7 kB / 1.47 GB, free: 5.246 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/1.07, allocations: 0.552 MB / 1.47 GB, free: 4.688 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/1.071, allocations: 325.1 kB / 1.471 GB, free: 4.367 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.071, allocations: 162.6 kB / 1.471 GB, free: 4.199 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.071, allocations: 337.9 kB / 1.471 GB, free: 3.863 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/1.072, allocations: 341.8 kB / 1.471 GB, free: 3.531 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/1.072, allocations: 485.9 kB / 1.472 GB, free: 3.02 MB / 1.154 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.078, allocations: 3.036 MB / 1.475 GB, free: 15.89 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.078, allocations: 4 kB / 1.475 GB, free: 15.89 MB / 1.17 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001572/1.08, allocations: 1.016 MB / 1.476 GB, free: 14.86 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.08, allocations: 4 kB / 1.476 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.08, allocations: 4 kB / 1.476 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.08, allocations: 8 kB / 1.476 GB, free: 14.85 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/1.081, allocations: 183.7 kB / 1.476 GB, free: 14.67 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/1.081, allocations: 8.312 kB / 1.476 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.082, allocations: 35.94 kB / 1.476 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/1.082, allocations: 32 kB / 1.476 GB, free: 14.59 MB / 1.17 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.0005358/1.082, allocations: 379.5 kB / 1.476 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/1.083, allocations: 135.1 kB / 1.477 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/1.083, allocations: 152.3 kB / 1.477 GB, free: 13.93 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.083, allocations: 8 kB / 1.477 GB, free: 13.92 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.083, allocations: 0 / 1.477 GB, free: 13.92 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001468/1.084, allocations: 1.098 MB / 1.478 GB, free: 12.75 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/1.089, allocations: 3.043 MB / 1.481 GB, free: 9.531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.089, allocations: 11.94 kB / 1.481 GB, free: 9.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000728/1.09, allocations: 159.8 kB / 1.481 GB, free: 9.363 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003471/1.09, allocations: 102.2 kB / 1.481 GB, free: 9.258 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/1.09, allocations: 28 kB / 1.481 GB, free: 9.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/1.092, allocations: 3.102 MB / 1.484 GB, free: 5.852 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/1.093, allocations: 15.94 kB / 1.484 GB, free: 5.836 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/1.095, allocations: 1.738 MB / 1.486 GB, free: 3.961 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/1.096, allocations: 320.2 kB / 1.486 GB, free: 3.629 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/1.096, allocations: 31.94 kB / 1.486 GB, free: 3.598 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.097, allocations: 39.97 kB / 1.486 GB, free: 3.559 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.097, allocations: 84.11 kB / 1.486 GB, free: 3.477 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.097, allocations: 47.98 kB / 1.486 GB, free: 3.43 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001121/1.099, allocations: 0.6956 MB / 1.487 GB, free: 2.727 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.11e-07/1.099, allocations: 0 / 1.487 GB, free: 2.727 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001266/1.1, allocations: 371.9 kB / 1.487 GB, free: 2.363 MB / 1.17 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.002948/1.103, allocations: 2.421 MB / 1.49 GB, free: 15.8 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001352/1.104, allocations: 0.8512 MB / 1.491 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.104, allocations: 4 kB / 1.491 GB, free: 14.94 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009234/1.105, allocations: 0.6689 MB / 1.491 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/1.109, allocations: 0.9294 MB / 1.492 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.122, allocations: 9.714 MB / 1.502 GB, free: 3.18 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008939/1.123, allocations: 1.249 MB / 1.503 GB, free: 1.898 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001215/1.125, allocations: 338.9 kB / 1.503 GB, free: 1.562 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/1.125, allocations: 475.3 kB / 1.504 GB, free: 1.098 MB / 1.186 GB Notification: Performance of SimCode: time 7.02e-07/1.125, allocations: 3.938 kB / 1.504 GB, free: 1.094 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06931/1.195, allocations: 38.43 MB / 1.541 GB, free: 11.18 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.5, allocations: 1.562 kB / 1.541 GB, free: 11.18 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches